/********** Template CSS **********/
:root {
    --primary: #b07d3a;   /* Soft altın-kahverengi */
    --light: #e6ebf1;     /* Soft açık mavi-beyaz */
    --dark: #040913;      /* Yumuşak koyu mavi */
}

.ff-secondary {
    font-family: 'Pacifico', cursive;
}

.fw-medium {
    font-weight: 600 !important;
}

.fw-semi-bold {
    font-weight: 700 !important;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}


/*** 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 {
    font-family: 'Nunito', sans-serif;
    font-weight: 500;
    text-transform: uppercase;
    transition: .5s;
}

.btn.btn-primary,
.btn.btn-secondary {
    color: var(--light);
}

.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
    color: var(--light);
    transition: background-color 0.3s ease;
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: #9a6f33;
    border-color: #9a6f33;
    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;
    border-radius: 2px;
}


/*** Navbar ***/
.navbar-dark .navbar-nav .nav-link {
    position: relative;
    margin-left: 25px;
    padding: 35px 0;
    font-size: 15px;
    color: var(--light) !important;
    text-transform: uppercase;
    font-weight: 500;
    outline: none;
    transition: .5s;
}

.sticky-top.navbar-dark .navbar-nav .nav-link {
    padding: 20px 0;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
    color: var(--primary) !important;
}

.navbar-dark .navbar-brand img {
    max-height: 60px;
    transition: .5s;
}

.sticky-top.navbar-dark .navbar-brand img {
    max-height: 45px;
}

@media (max-width: 991.98px) {
    .sticky-top.navbar-dark {
        position: relative;
    }

    .navbar-dark .navbar-collapse {
        margin-top: 15px;
        border-top: 1px solid rgba(230, 235, 241, .1);
    }

    .navbar-dark .navbar-nav .nav-link,
    .sticky-top.navbar-dark .navbar-nav .nav-link {
        padding: 10px 0;
        margin-left: 0;
    }

    .navbar-dark .navbar-brand img {
        max-height: 45px;
    }
}

@media (min-width: 992px) {
    .navbar-dark {
        position: absolute;
        width: 100%;
        top: 0;
        left: 0;
        z-index: 999;
        background: transparent !important;
    }
    
    .sticky-top.navbar-dark {
        position: fixed;
        background: var(--dark) !important;
    }
}


/*** Hero Header ***/
.hero-header {
    background: linear-gradient(rgba(30, 42, 68, 0.9), rgba(30, 42, 68, 0.9)), url(../images/bg-hero.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.hero-header img {
    animation: imgRotate 50s linear infinite;
}

@keyframes imgRotate { 
    100% { 
        transform: rotate(360deg); 
    } 
}

.breadcrumb-item + .breadcrumb-item::before {
    color: rgba(230, 235, 241, 0.5);
}


/*** Section Title ***/
.section-title {
    position: relative;
    display: inline-block;
}

.section-title::before {
    position: absolute;
    content: "";
    width: 45px;
    height: 2px;
    top: 50%;
    left: -55px;
    margin-top: -1px;
    background: var(--primary);
}

.section-title::after {
    position: absolute;
    content: "";
    width: 45px;
    height: 2px;
    top: 50%;
    right: -55px;
    margin-top: -1px;
    background: var(--primary);
}

.section-title.text-start::before,
.section-title.text-end::after {
    display: none;
}


/*** Service ***/
.service-item {
    box-shadow: 0 0 45px rgba(0, 0, 0, 0.08);
    transition: 0.5s;
}

.service-item:hover {
    background: var(--primary);
}

.service-item * {
    transition: 0.5s;
}

.service-item:hover * {
    color: var(--light) !important;
}


/*** Food Menu - 3 Column Oval Categories ***/
.tab-class {
    margin-bottom: 3rem;
}

.tab-content {
    margin-top: 2rem;
}

.nav-pills {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    padding: 0;
    margin: 0;
    background: transparent;
    border: none;
    list-style: none;
}

.nav-pills .nav-item {
    margin: 0;
    width: 100%;
}

.nav-pills .nav-link {
    background: var(--dark);
    border: 2px solid #2a3441;
    border-radius: 30px;
    padding: 1rem;
    text-align: center;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 70px;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
    color: var(--light);
}

.nav-pills .nav-link i {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    color: var(--primary);
    transition: all 0.3s ease;
}

.nav-pills .nav-link h6 {
    margin: 0;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--light);
    transition: all 0.3s ease;
}

.nav-pills .nav-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(176, 125, 58, 0.2);
    border-color: var(--primary);
    text-decoration: none;
}

.nav-pills .nav-link:hover i {
    transform: scale(1.1);
    color: var(--primary);
}

.nav-pills .nav-link:hover h6 {
    color: var(--primary);
}

.nav-pills .nav-link.active {
    background: linear-gradient(135deg, var(--primary), #d4a574);
    border-color: var(--primary);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(176, 125, 58, 0.3);
}

.nav-pills .nav-link.active i {
    color: white;
    transform: scale(1.1);
}

.nav-pills .nav-link.active h6 {
    color: white;
}

.nav-pills .nav-link.active:hover {
    background: linear-gradient(135deg, #9a6f33, #c19a5b);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(176, 125, 58, 0.4);
}

/*** Product Cards ***/
.product-card {
    background: var(--dark);
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(176, 125, 58, 0.3);
    animation: cardFadeIn 0.6s ease-out;
}

.product-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    border-color: var(--primary);
}

@keyframes cardFadeIn {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.9);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Staggered animation for multiple cards */
.product-card:nth-child(1) { animation-delay: 0.1s; }
.product-card:nth-child(2) { animation-delay: 0.2s; }
.product-card:nth-child(3) { animation-delay: 0.3s; }
.product-card:nth-child(4) { animation-delay: 0.4s; }
.product-card:nth-child(5) { animation-delay: 0.5s; }
.product-card:nth-child(6) { animation-delay: 0.6s; }
.product-card:nth-child(7) { animation-delay: 0.7s; }
.product-card:nth-child(8) { animation-delay: 0.8s; }
.product-card:nth-child(9) { animation-delay: 0.9s; }
.product-card:nth-child(10) { animation-delay: 1.0s; }

.product-image-container {
    position: relative;
    height: 180px;
    width: 100%;
    margin: 0;
    border-radius: 15px 15px 0 0;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.product-card:hover .product-image-container {
    box-shadow: 0 8px 25px rgba(176, 125, 58, 0.3);
    transform: scale(1.05);
}

.product-card:hover .product-image {
    transform: scale(1.08);
}


.product-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    height: calc(100% - 180px);
    position: relative;
}

.product-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--light);
    margin-bottom: 0.75rem;
    line-height: 1.3;
    transition: color 0.3s ease;
    position: relative;
}

.product-title::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.product-card:hover .product-title::after {
    width: 30px;
}

.product-description {
    color: #b0b8c8;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1rem;
    flex-grow: 1;
    transition: color 0.3s ease;
}

.product-card:hover .product-description {
    color: #c8d0e0;
}

.product-footer {
    margin-top: auto;
    padding: 1rem 0 0.5rem 0;
    border-top: 1px solid #2a3441;
    position: relative;
    overflow: hidden;
}

.product-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    transition: left 0.5s ease;
}

.product-card:hover .product-footer::before {
    left: 100%;
}

.product-price-main {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
    position: relative;
    display: inline-block;
    transition: all 0.3s ease;
}

.product-card:hover .product-price-main {
    transform: scale(1.05);
    text-shadow: 0 2px 4px rgba(176, 125, 58, 0.3);
}

/* Category Section Styling */
.category-section {
    margin: 3rem 0 2rem 0;
}

.category-title {
    position: relative;
    display: inline-block;
    margin: 2rem 0 1.5rem 0;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, var(--primary), #d4a574);
    color: white;
    border-radius: 50px;
    font-size: 1.5rem;
    font-weight: 600;
    box-shadow: 0 8px 25px rgba(176, 125, 58, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.category-title:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(176, 125, 58, 0.5);
    border-color: rgba(255, 255, 255, 0.3);
}

.category-title::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -15px;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 20px solid transparent;
    border-bottom: 20px solid transparent;
    border-right: 20px solid var(--primary);
    filter: drop-shadow(2px 0 4px rgba(0, 0, 0, 0.2));
}

.category-title::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -15px;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 20px solid transparent;
    border-bottom: 20px solid transparent;
    border-left: 20px solid #d4a574;
    filter: drop-shadow(-2px 0 4px rgba(0, 0, 0, 0.2));
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .product-image-container {
        height: 150px;
        width: 100%;
        margin: 0;
    }
    
    .product-content {
        padding: 1rem;
        height: calc(100% - 150px);
    }
    
    .product-title {
        font-size: 1.1rem;
    }
    
    .product-description {
        font-size: 0.85rem;
    }
    
    .product-footer {
        padding: 0.8rem 0 0.4rem 0;
    }
    
    .category-title {
        font-size: 1.2rem;
        padding: 0.8rem 2rem;
        border-radius: 40px;
    }
    
    .category-title::before {
        left: -12px;
        border-top: 15px solid transparent;
        border-bottom: 15px solid transparent;
        border-right: 15px solid var(--primary);
    }
    
    .category-title::after {
        right: -12px;
        border-top: 15px solid transparent;
        border-bottom: 15px solid transparent;
        border-left: 15px solid #d4a574;
    }
    
    .product-card:hover {
        transform: translateY(-8px) scale(1.01);
    }
    
    .nav-pills {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.8rem;
    }
    
    .nav-pills .nav-link {
        padding: 0.8rem;
        min-height: 60px;
        border-radius: 25px;
    }
    
    .nav-pills .nav-link i {
        font-size: 1.2rem;
        margin-bottom: 0.4rem;
    }
    
    .nav-pills .nav-link h6 {
        font-size: 0.8rem;
    }
    
    /* Küçük mobil cihazlar için */
    @media (max-width: 480px) {
        .nav-pills {
            grid-template-columns: repeat(2, 1fr);
            gap: 0.6rem;
        }
        
        .nav-pills .nav-link {
            padding: 0.7rem;
            min-height: 55px;
            border-radius: 22px;
        }
        
        .nav-pills .nav-link i {
            font-size: 1.1rem;
            margin-bottom: 0.3rem;
        }
        
        .nav-pills .nav-link h6 {
            font-size: 0.75rem;
        }
    }
    
    /* Çok küçük ekranlar için */
    @media (max-width: 360px) {
        .nav-pills {
            grid-template-columns: repeat(2, 1fr);
            gap: 0.5rem;
        }
        
        .nav-pills .nav-link {
            padding: 0.6rem;
            min-height: 50px;
            border-radius: 20px;
        }
        
        .nav-pills .nav-link i {
            font-size: 1rem;
            margin-bottom: 0.2rem;
        }
        
        .nav-pills .nav-link h6 {
            font-size: 0.7rem;
        }
    }
}


/*** Youtube Video ***/
.video {
    position: relative;
    height: 100%;
    min-height: 500px;
    background: linear-gradient(rgba(30, 42, 68, 0.1), rgba(30, 42, 68, 0.1)), url(../img/video.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.video .btn-play {
    position: absolute;
    z-index: 3;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    box-sizing: content-box;
    display: block;
    width: 32px;
    height: 44px;
    border-radius: 50%;
    border: none;
    outline: none;
    padding: 18px 20px 18px 28px;
}

.video .btn-play:before {
    content: "";
    position: absolute;
    z-index: 0;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 100px;
    height: 100px;
    background: var(--primary);
    border-radius: 50%;
    animation: pulse-border 1500ms ease-out infinite;
}

.video .btn-play:after {
    content: "";
    position: absolute;
    z-index: 1;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 100px;
    height: 100px;
    background: var(--primary);
    border-radius: 50%;
    transition: all 200ms;
}

.video .btn-play img {
    position: relative;
    z-index: 3;
    max-width: 100%;
    width: auto;
    height: auto;
}

.video .btn-play span {
    display: block;
    position: relative;
    z-index: 3;
    width: 0;
    height: 0;
    border-left: 32px solid var(--dark);
    border-top: 22px solid transparent;
    border-bottom: 22px solid transparent;
}

@keyframes pulse-border {
    0% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1);
        opacity: 1;
    }

    100% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1.5);
        opacity: 0;
    }
}

#videoModal {
    z-index: 99999;
}

#videoModal .modal-dialog {
    position: relative;
    max-width: 800px;
    margin: 60px auto 0 auto;
}

#videoModal .modal-body {
    position: relative;
    padding: 0px;
}

#videoModal .close {
    position: absolute;
    width: 30px;
    height: 30px;
    right: 0px;
    top: -30px;
    z-index: 999;
    font-size: 30px;
    font-weight: normal;
    color: var(--light);
    background: var(--dark);
    opacity: 1;
}


/*** Team ***/
.team-item {
    box-shadow: 0 0 45px rgba(0, 0, 0, 0.08);
    height: calc(100% - 38px);
    transition: 0.5s;
}

.team-item img {
    transition: 0.5s;
}

.team-item:hover img {
    transform: scale(1.1);
}

.team-item:hover {
    height: 100%;
}

.team-item .btn {
    border-radius: 38px 38px 0 0;
}


/*** Testimonial ***/
.testimonial-carousel .owl-item .testimonial-item,
.testimonial-carousel .owl-item.center .testimonial-item * {
    transition: 0.5s;
}

.testimonial-carousel .owl-item.center .testimonial-item {
    background: var(--primary) !important;
    border-color: var(--primary) !important;
}

.testimonial-carousel .owl-item.center .testimonial-item * {
    color: var(--light) !important;
}

.testimonial-carousel .owl-dots {
    margin-top: 24px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 15px;
    height: 15px;
    border: 1px solid #CCCCCC;
    border-radius: 15px;
    transition: 0.5s;
}

.testimonial-carousel .owl-dot.active {
    background: var(--primary);
    border-color: var(--primary);
}


/*** Footer ***/
.footer .btn.btn-social {
    margin-right: 5px;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    border: 1px solid var(--light);
    border-radius: 35px;
    transition: 0.3s;
}

.footer .btn.btn-social:hover {
    color: var(--primary);
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: var(--light);
    font-size: 15px;
    font-weight: normal;
    text-transform: capitalize;
    transition: 0.3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .copyright {
    padding: 25px 0;
    font-size: 15px;
    border-top: 1px solid rgba(230, 235, 241, 0.1);
}

.footer .copyright a {
    color: var(--light);
}

.footer .footer-menu a {
    margin-right: 15px;
    padding-right: 15px;
    border-right: 1px solid rgba(230, 235, 241, 0.1);
}

.footer .footer-menu a:last-child {
    margin-right: 0;
    padding-right: 0;
    border-right: none;
}

/* Custom Footer Section */
.footer-section {
    background: linear-gradient(135deg, var(--dark), #0a0f1a);
    padding: 2rem 0;
    margin-top: 3rem;
    border-top: 1px solid #2a3441;
}

.footer-content {
    padding: 1rem 0;
}

.footer-text {
    color: var(--light);
    font-size: 0.9rem;
    margin: 0;
    opacity: 0.8;
    line-height: 1.6;
}

.footer-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
}

.footer-link:hover {
    color: #d4a574;
    text-decoration: none;
    transform: translateY(-1px);
}

.footer-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.footer-link:hover::after {
    width: 100%;
}

/* Responsive Footer */
@media (max-width: 768px) {
    .footer-section {
        padding: 1.5rem 0;
        margin-top: 2rem;
    }
    
    .footer-text {
        font-size: 0.8rem;
        padding: 0 1rem;
    }
}
