/********** Template CSS **********/
:root {
    --primary: #edb150;
    --secondary: #b77327;
    --light: #E8F5E9;
    --dark: #b3722a;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}
.bg-light {
    background-color: #cb9d69 !important;
}
h1,
.h1,
h2,
.h2,
h3,
.h3,
h4,
.h4,
h5,
.h5,
h6,
.h6 {
    color: #553614 !important;
}

body {
    color: #b47127 !important;
        font-size: 1.4rem !important;
}

h1,
.h1,
h2,
.h2,
.fw-bold {
    font-weight: 700 !important;
}

h3,
.h3,
h4,
.h4,
.fw-medium {
    font-weight: 600 !important;
}

h5,
.h5,
h6,
.h6,
.fw-semi-bold {
    font-weight: 500 !important;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    transition: .5s;
    font-weight: 500;
}

.btn-primary,
.btn-outline-primary:hover {
    color: var(--light);
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}


/*** Navbar ***/
.navbar.sticky-top {
    top: -100px;
    transition: .5s;
}

.navbar .navbar-brand,
.navbar a.btn {
    height: 80px
}

.navbar .navbar-nav .nav-link {
    margin-right: 35px;
    padding: 25px 0;
    color: #ffffff;
    font-size: 25px;
    font-weight: 600;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: #f0e6d2;
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

/* Desktop Layout - Logo Ortada */
@media (min-width: 992px) {
    .navbar-nav {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        padding-left: 100px;
        padding-right: 100px;
    }

    .navbar-left-menu {
        display: flex;
        align-items: center;
        margin-right: auto;
        padding-left: 50px;
    }

    .navbar-brand-center {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }

    .navbar-right-menu {
        display: flex;
        align-items: center;
        margin-left: auto;
        padding-right: 50px;
    }

    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}

/* Mobile Layout - Orijinal Görünüm */
@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link {
        margin-right: 0;
        padding: 10px 0;
        font-size: 18px;
        color: var(--dark);
    }

    .navbar .navbar-nav {
        border-top: 1px solid #EEEEEE;
        background-color: #ffffff;
    }

    .navbar .navbar-nav .nav-link:hover,
    .navbar .navbar-nav .nav-link.active {
        color: var(--primary);
    }
}


/*** Header ***/
.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: rgb(182 113 35 / 26%);
    z-index: 1;
}

.carousel-control-prev,
.carousel-control-next {
    width: 15%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 3rem;
    background-color: var(--primary);
    border: 10px solid var(--primary);
}

@media (max-width: 768px) {
    #header-carousel .carousel-item {
        position: relative;
        min-height: 450px;
    }

    #header-carousel .carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

.page-header {
    background: linear-gradient(rgba(15, 66, 41, .6), rgba(15, 66, 41, .6)), url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}

.page-header .breadcrumb-item+.breadcrumb-item::before {
    color: var(--light);
}

.page-header .breadcrumb-item,
.page-header .breadcrumb-item a {
    font-size: 18px;
    color: var(--light);
}


/*** Top Feature ***/
@media (min-width: 991.98px) {
    .top-feature {
        position: relative;
        margin-top: -80px;
        z-index: 1;
    }
}


/*** Facts & Quote ***/
.facts,
.quote {
    background: rgba(15, 66, 41, .6);
}


/*** Service ***/
.service-item {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
    transition: transform .3s, box-shadow .3s;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 50px rgba(0, 0, 0, .15);
}

.service-item .service-img {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.service-item .service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s;
}

.service-item:hover .service-img img {
    transform: scale(1.1);
}

.service-item .service-text {
    background: #FFFFFF;
    padding: 1.5rem;
    flex-grow: 1;
    transition: background .3s;
}

.service-item:hover .service-text {
    background: #f8f9fa;
}

.service-item .service-text h4 {
    color: var(--dark);
    transition: color .3s;
}

.service-item:hover .service-text h4 {
    color: var(--primary);
}

.service-item .service-text p {
    color: #b3722a;
    transition: color .3s;
}

.breadcrumb {
    background-color: #b3722a;
    display: inline-flex;
    padding: 8px 15px;
    border-radius: 4px;
}

/*** Project Portfolio ***/
#portfolio-flters {
    display: inline-block;
    background: #b3722a;
    padding: 10px 15px;
}

.display-3 {
    background-color: #ecb04e;
    display: -webkit-inline-box;
    padding: 6px;
    border-radius: 4px;
}

#portfolio-flters li {
    display: inline-block;
    font-weight: 500;
    color: var(--primary);
    cursor: pointer;
    transition: .5s;
    border-bottom: 2px solid transparent;
}

#portfolio-flters li:hover,
#portfolio-flters li.active {
    color: #fff;
    border-color: #fff;
}

.portfolio-inner {
    position: relative;
    overflow: hidden;
}

.portfolio-inner::before,
.portfolio-inner::after {
    position: absolute;
    content: "";
    width: 0;
    height: 100%;
    top: 0;
    left: 0;
    background: rgb(81 54 25 / 37%);
    transition: .5s;
}

.portfolio-inner::after {
    left: auto;
    right: 0;
}

.portfolio-inner:hover::before,
.portfolio-inner:hover::after {
    width: 50%;
}

.portfolio-inner .portfolio-text {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: .5s;
    z-index: 3;
    opacity: 0;
}

.portfolio-inner:hover .portfolio-text {
    transition-delay: .3s;
    opacity: 1;
}

.portfolio-inner .portfolio-text .btn {
    background: var(--light);
    color: var(--primary);
}

.portfolio-inner .portfolio-text .btn:hover {
    background: var(--primary);
    color: var(--light);
}

/* Basit proje görseli - hover efekti yok */
.portfolio-inner-simple {
    position: relative;
    overflow: hidden;
    transition: transform .3s ease;
}

.portfolio-inner-simple:hover {
    transform: scale(1.02);
}

.portfolio-inner-simple img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Öne çıkan projeler için stil */
.featured-project {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all .3s ease;
}

.featured-project:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.featured-project img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .3s ease;
}

.featured-project:hover img {
    transform: scale(1.05);
}

.featured-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--primary);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 14px;
    z-index: 2;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}


/*** Team ***/
.team-item {
    position: relative;
    overflow: hidden;
}

.team-item .team-text {
    position: absolute;
    width: calc(100% - 45px);
    left: -100%;
    bottom: 45px;
    padding: 1.5rem;
    background: #FFFFFF;
    border-radius: 0 4px 4px 0;
    opacity: 0;
    transition: .5s;
}

.team-item:hover .team-text {
    left: 0;
    opacity: 1;
}

.team-item .team-social .btn {
    background: var(--light);
    color: var(--primary);
}

.team-item .team-social .btn:hover {
    background: var(--primary);
    color: var(--light);
}

.team-item .team-img .team-social {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .5s;
    z-index: 3;
    opacity: 0;
}

.team-item:hover .team-img .team-social {
    transition-delay: .3s;
    opacity: 1;
}


/*** Testimonial ***/

.testimonial-carousel .owl-item img {
    width: 100px;
    height: 100px;
}

.testimonial-carousel .owl-nav {
    margin-top: 30px;
    display: flex;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    margin-right: 15px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    background: var(--light);
    border-radius: 4px;
    font-size: 22px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    background: var(--primary);
    color: var(--light);
}


/*** Footer ***/
.footer {
    position: relative;
    background: linear-gradient(135deg, #2c1810 0%, #4a2c1a 25%, #6b4423 50%, #8b6f47 75%, #6b4423 100%);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 165, 116, 0.1), transparent);
    animation: shimmer 8s infinite;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@keyframes shimmer {
    0% {
        left: -100%;
    }

    100% {
        left: 100%;
    }
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #f5e6d3;
    font-weight: normal;
    text-transform: capitalize;
    transition: all .3s ease;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
    transition: transform .3s ease;
}

.footer .btn.btn-link:hover {
    color: #d4a574;
    letter-spacing: 1px;
    box-shadow: none;
    transform: translateX(5px);
}
.footer .btn.btn-link {

    font-size: 1.3rem;
}
    
.footer .btn.btn-link:hover::before {
    transform: translateX(3px);
}

.footer h4 {
    color: #d4a574;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.footer p {
    color: #f5e6d3;
}
a {
    color: #513618;
}
a:hover {
    color: #684b2b;
}
.footer .btn-outline-light {
    border-color: #d4a574;
    color: #d4a574;
    transition: all .3s ease;
}

.footer .btn-outline-light:hover {
    background-color: #d4a574;
    border-color: #d4a574;
    color: #2c1810;
    transform: scale(1.1);
}

.copyright {
    color: #f5e6d3;
    background: linear-gradient(90deg, #1a0f0a 0%, #2c1810 50%, #1a0f0a 100%);
    border-top: 2px solid rgba(212, 165, 116, 0.3);
}
.dropdown-item {
    font-size:18px;
    color:white;
}
.copyright a {
    color: #d4a574;
    transition: all .3s ease;
}
.dropdown-item:hover, .dropdown-item:focus {
    background-color: #b3722a17;
}
.copyright a:hover {
    color: #edb150;
    text-shadow: 0 0 10px rgba(237, 177, 80, 0.5);
}