/* ==========================================================================
   CSS VARIABLES & RESET
   ========================================================================== */
   :root {
    /* Color Palette */
    /* Earthy tones (Ürgüp/Kapadokya vibes) */
    --clr-earth-light: #F9F6F0; /* Soft beige */
    --clr-earth-mid: #D4C3A3;   /* Natural stone */
    --clr-earth-dark: #8B7355;  /* Deep earth */
    
    /* Warm tones (Tantuni/Appetizing vibes) */
    --clr-brand-primary: #E63946;   /* Appetizing Red */
    --clr-brand-secondary: #F4A261; /* Warm Orange */
    --clr-brand-accent: #E9C46A;    /* Spicy Yellow */
    
    /* Neutral / Text colors */
    --clr-text-main: #2B2B2B;
    --clr-text-muted: #666666;
    --clr-bg-white: #FFFFFF;
    --clr-bg-dark: #1A1A1A;
    
    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Poppins', sans-serif;
    
    /* Spacing & Utilities */
    --transition-fast: 0.3s ease;
    --border-radius: 8px;
    --box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px; /* Offset for the sticky header when jumping to anchors */
}

body {
    font-family: var(--font-body);
    color: var(--clr-text-main);
    background-color: var(--clr-earth-light);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ==========================================================================
   TYPOGRAPHY & UTILITIES
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--clr-text-main);
    line-height: 1.3;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.section-padding {
    padding: 5rem 0;
}

.text-center {
    text-align: center;
}

.mt-4 {
    margin-top: 3rem;
}

.bg-light {
    background-color: var(--clr-bg-white);
}

/* Section Headers */
.section-header {
    margin-bottom: 3rem;
}

.section-header.center {
    text-align: center;
}

.section-title {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--clr-brand-primary);
    border-radius: 2px;
}

.section-header.center .section-title::after {
    left: 50%;
    transform: translateX(-50%);
}

.about-text .section-title::after {
    left: 0;
    transform: none;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 30px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition-fast);
    cursor: pointer;
    font-size: 0.95rem;
    border: none;
}

.btn-primary {
    background-color: var(--clr-brand-primary);
    color: var(--clr-bg-white);
    box-shadow: 0 4px 15px rgba(230, 57, 70, 0.4);
}

.btn-primary:hover {
    background-color: #c72c38;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(230, 57, 70, 0.5);
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
#header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.2rem 0;
    transition: var(--transition-fast);
    background-color: transparent;
}

#header.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    padding: 0.8rem 0;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--clr-bg-white);
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo i {
    color: var(--clr-brand-secondary);
}

.logo span {
    color: var(--clr-brand-secondary);
}

#header.scrolled .logo {
    color: var(--clr-text-main);
}

/* Nav Links */
.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links li a {
    color: var(--clr-bg-white);
    font-weight: 500;
    font-size: 1.05rem;
    transition: var(--transition-fast);
    position: relative;
}

#header.scrolled .nav-links li a {
    color: var(--clr-text-main);
}

.nav-links li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--clr-brand-primary);
    transition: var(--transition-fast);
}

.nav-links li a:hover::after {
    width: 100%;
}

.nav-links li a:hover {
    color: var(--clr-brand-primary);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    font-size: 1.8rem;
    color: var(--clr-bg-white);
    cursor: pointer;
    transition: var(--transition-fast);
}

#header.scrolled .hamburger {
    color: var(--clr-text-main);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    background: url('https://images.unsplash.com/photo-1555939594-58d7cb561ad1?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--clr-bg-white);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Dark overlay with slight warmth */
    background: linear-gradient(to bottom, rgba(0,0,0,0.6), rgba(43, 23, 10, 0.7));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding-top: 80px; /* Offset for header */
}

.hero h1 {
    font-size: 3.5rem;
    color: var(--clr-bg-white);
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero h1 .highlight {
    color: var(--clr-brand-accent);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    font-weight: 300;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

/* ==========================================================================
   ABOUT SECTION
   ========================================================================== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text p {
    color: var(--clr-text-muted);
    margin-bottom: 1.2rem;
    font-size: 1.05rem;
}

.features {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background-color: var(--clr-bg-white);
    padding: 1rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    border-left: 4px solid var(--clr-brand-secondary);
}

.feature-item i {
    font-size: 1.5rem;
    color: var(--clr-brand-secondary);
}

.feature-item span {
    font-weight: 500;
    color: var(--clr-text-main);
}

.about-image img {
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

/* ==========================================================================
   MENU SECTION (QR/Mobile First Focus)
   ========================================================================== */
.category-title {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--clr-brand-primary);
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 2px dashed var(--clr-earth-mid);
    padding-bottom: 0.5rem;
}

/* Card layout for main items (Tantuni) */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.menu-card {
    background-color: var(--clr-bg-white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition-fast);
    border: 1px solid var(--clr-earth-light);
}

.menu-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.menu-card-img {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.menu-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.menu-card:hover .menu-card-img img {
    transform: scale(1.05);
}

.menu-card-content {
    padding: 1.5rem;
}

.menu-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.8rem;
}

.menu-card-header h4 {
    font-size: 1.2rem;
    font-family: var(--font-body);
    font-weight: 600;
    margin-right: 10px;
}

.price {
    font-weight: 700;
    color: var(--clr-brand-primary);
    font-size: 1.2rem;
    white-space: nowrap;
}

.menu-card-content p {
    color: var(--clr-text-muted);
    font-size: 0.9rem;
    line-height: 1.4;
}

/* List layout for secondary items (Drinks/Desserts) */
.menu-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.menu-list-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--clr-bg-white);
    padding: 1rem 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    border-left: 3px solid var(--clr-earth-mid);
}

.item-info h4 {
    font-size: 1.1rem;
    font-family: var(--font-body);
    font-weight: 600;
    margin-bottom: 0.2rem;
}

.item-info p {
    color: var(--clr-text-muted);
    font-size: 0.85rem;
}

/* Menu Metadata (Calories & Allergens) */
.menu-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 0.8rem;
    border-top: 1px solid var(--clr-earth-light);
    padding-top: 0.8rem;
}

.menu-list-item .menu-meta {
    border-top: none;
    padding-top: 0.4rem;
    margin-top: 0.4rem;
}

.meta-item {
    font-size: 0.75rem;
    color: var(--clr-text-muted);
    display: flex;
    align-items: center;
    gap: 0.3rem;
    background-color: var(--clr-earth-light);
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
}

.meta-item i {
    color: var(--clr-brand-secondary);
}

.meta-item.allergen i {
    color: var(--clr-brand-primary);
}
/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-card {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    background-color: var(--clr-bg-white);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.icon-box {
    width: 50px;
    height: 50px;
    background-color: rgba(230, 57, 70, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.icon-box i {
    font-size: 1.5rem;
    color: var(--clr-brand-primary);
}

.info-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-family: var(--font-body);
}

.info-card p, .info-card a {
    color: var(--clr-text-muted);
    font-size: 1rem;
}

.info-card a:hover {
    color: var(--clr-brand-primary);
}

.contact-map {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    min-height: 350px;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
footer {
    background-color: var(--clr-bg-dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 3rem 0;
}

.footer-logo {
    display: inline-flex;
    margin-bottom: 1rem;
    font-size: 2rem;
}

.copyright {
    font-size: 0.9rem;
}

/* ==========================================================================
   FLOATING WHATSAPP BUTTON
   ========================================================================== */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366; /* WhatsApp official color */
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 35px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    animation: pulse-wa 2s infinite;
}

.whatsapp-float:hover {
    background-color: #1ebe57;
    transform: scale(1.1);
}

/* Pulse animation for attention */
@keyframes pulse-wa {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* ==========================================================================
   MEDIA QUERIES (RESPONSIVE DESIGN)
   ========================================================================== */
/* Tablet */
@media (max-width: 992px) {
    .about-grid, .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        order: -1; /* Image appears above text on smaller screens */
    }
    
    .hero h1 {
        font-size: 2.8rem;
    }
}

/* Mobile */
@media (max-width: 768px) {
    /* Mobile Menu Implementation */
    .hamburger {
        display: block;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%; /* Hidden off-screen */
        width: 75%;
        max-width: 320px;
        height: 100vh;
        background-color: var(--clr-earth-light);
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        padding-top: 100px;
        gap: 0;
        transition: 0.4s cubic-bezier(0.77, 0, 0.175, 1);
        box-shadow: -10px 0 30px rgba(0,0,0,0.15);
        z-index: 999;
        border-left: 1px solid var(--clr-earth-mid);
    }
    
    .nav-links.active {
        right: 0; /* Slide in */
    }
    
    .nav-links li {
        width: 100%;
        opacity: 0;
        transform: translateX(30px);
        transition: all 0.4s ease;
    }
    
    .nav-links.active li {
        opacity: 1;
        transform: translateX(0);
    }
    
    /* Staggered animation */
    .nav-links.active li:nth-child(1) { transition-delay: 0.1s; }
    .nav-links.active li:nth-child(2) { transition-delay: 0.2s; }
    .nav-links.active li:nth-child(3) { transition-delay: 0.3s; }
    .nav-links.active li:nth-child(4) { transition-delay: 0.4s; }

    .nav-links li a {
        display: block;
        color: var(--clr-text-main);
        font-size: 1.4rem;
        font-family: var(--font-heading);
        font-weight: 600;
        padding: 1.2rem 2rem;
        border-bottom: 1px solid rgba(0,0,0,0.05);
        position: relative;
        transition: all 0.3s ease;
    }
    
    .nav-links li a::after {
        display: none; /* Hide desktop hover line */
    }
    
    .nav-links li a:active {
        background-color: rgba(230, 57, 70, 0.05);
        color: var(--clr-brand-primary);
        padding-left: 2.5rem;
    }
    
    /* Overlay for mobile menu */
    .menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: rgba(0,0,0,0.5);
        z-index: 998;
        display: none;
        opacity: 0;
        transition: opacity 0.3s;
    }
    
    .menu-overlay.active {
        display: block;
        opacity: 1;
    }

    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }

    .section-padding {
        padding: 3rem 0;
    }

    .section-title {
        font-size: 1.8rem;
    }
    
    .menu-grid {
        grid-template-columns: 1fr; /* Single column on mobile */
    }
    
    .menu-card-img {
        height: 180px;
    }
    
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 28px;
        bottom: 20px;
        right: 20px;
    }
}
