/* ==========================================================================
   CSS Variables & Reset
   ========================================================================== */
   :root {
    --primary: #C5A059;      /* Gold Accent */
    --primary-dark: #A68045;
    --bg-light: #FAFAFA;     /* Light Background */
    --bg-white: #FFFFFF;
    --text-main: #1A1A1A;
    --text-muted: #666666;
    --dark-section: #111111;
    --whatsapp: #25D366;
    
    --font-heading: Georgia, 'Times New Roman', serif;
    --font-body: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    
    --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --shadow: 0 10px 30px rgba(0,0,0,0.05);
    --shadow-hover: 0 15px 40px rgba(0,0,0,0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    overscroll-behavior-x: none;
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--bg-light);
    line-height: 1.6;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    overscroll-behavior-x: none;
}

/* ==========================================================================
   Typography & Utilities
   ========================================================================== */
a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 100px 0;
}

/* Separate page-like sections. The Baklava assortment deliberately stays a
   regular, continuously scrolling section. */
.scroll-page {
    position: relative;
    min-height: calc(100svh - var(--page-header-height, 90px));
    display: flex;
    align-items: center;
    scroll-margin-top: var(--page-header-height, 90px);
    border-radius: 32px 32px 0 0;
    box-shadow:
        0 -10px 18px rgba(0, 0, 0, 0.12),
        0 -28px 60px rgba(0, 0, 0, 0.18);
    isolation: isolate;
}

.scroll-page:not(#home)::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: min(120px, 28vw);
    height: 4px;
    border-radius: 0 0 999px 999px;
    background: var(--primary);
    transform: translateX(-50%);
    z-index: 2;
}

.scroll-page > .container {
    width: 100%;
}

.about {
    background: #f7f2e9;
}

.contact {
    background: var(--bg-white);
}

.engagement-page {
    display: block;
    overflow: hidden;
    background: var(--bg-light);
}

.engagement-page .review-banner,
.engagement-page .instagram-section {
    width: 100%;
}

.normal-scroll-section {
    position: relative;
    min-height: 0;
    border-radius: 32px 32px 0 0;
    box-shadow:
        0 -10px 18px rgba(0, 0, 0, 0.12),
        0 -28px 60px rgba(0, 0, 0, 0.18);
    scroll-margin-top: var(--page-header-height, 90px);
}

.normal-scroll-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: min(120px, 28vw);
    height: 4px;
    border-radius: 0 0 999px 999px;
    background: var(--primary);
    transform: translateX(-50%);
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--text-main);
    margin-bottom: 20px;
}

.center { text-align: center; }
.text-muted { color: var(--text-muted); }

.divider {
    height: 3px;
    width: 60px;
    background-color: var(--primary);
    margin-bottom: 30px;
}
.center-div { margin: 0 auto 30px auto; }

/* Placeholders (Since no AI images are used) */
.image-placeholder {
    background: linear-gradient(135deg, #e0e0e0, #f5f5f5);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    border: 1px dashed #ccc;
}
.main-hero-placeholder { height: 100%; width: 100%; border-radius: 0; border: none; background: #333; color: #fff;}
.small-placeholder { height: 250px; width: 100%; }

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
}
.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(197, 160, 89, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-main);
    border-color: var(--text-main);
}
.btn-secondary:hover {
    background-color: var(--text-main);
    color: white;
    transform: translateY(-3px);
}

/* Legal Pages */
.legal-page {
    min-height: 100vh;
    padding: 60px 0;
    background: var(--bg-light);
}

.legal-embedded {
    display: none;
}

.legal-embedded.active {
    display: block;
}

.legal-container {
    max-width: 860px;
    background: var(--bg-white);
    border-radius: 16px;
    box-shadow: var(--shadow);
    padding: 50px;
}

.legal-back {
    display: inline-block;
    margin-bottom: 30px;
    color: var(--primary-dark);
    font-weight: 600;
}

.legal-back:hover {
    color: var(--primary);
}

.legal-container h1 {
    font-family: var(--font-heading);
    font-size: 2.6rem;
    line-height: 1.1;
    margin-bottom: 12px;
}

.legal-section {
    margin-top: 32px;
}

.legal-section h2 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.legal-section p {
    margin-bottom: 14px;
    color: var(--text-muted);
}

.legal-section a {
    color: var(--primary-dark);
    font-weight: 600;
}

.legal-note {
    margin-top: 36px;
    padding: 18px 20px;
    border-left: 4px solid var(--primary);
    background: var(--bg-light);
    color: var(--text-muted);
}

@media (max-width: 600px) {
    .legal-page {
        padding: 25px 0;
    }

    .legal-container {
        padding: 30px 22px;
        border-radius: 12px;
    }

    .legal-container h1 {
        font-size: 2rem;
    }
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.header {
    position: fixed;
    top: 0; left: 0; right: 0;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    transition: all 0.3s ease;
}

.header.scrolled {
    padding: 5px 0;
    box-shadow: 0 14px 34px rgba(0,0,0,0.2);
}

.header::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 26px;
    pointer-events: none;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.16), transparent);
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.header:not(.scrolled)::after {
    opacity: 0.35;
}

.header-container {
    display: flex;
    align-items: center;
    position: relative;
    height: 80px;
}

.logo {
    flex: 0 0 auto;
}

.nav {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.header-right-wing {
    display: flex;
    align-items: center;
    margin-left: auto;
    gap: 30px;
}

.logo a {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-main);
    letter-spacing: 1px;
}

.nav-list {
    display: flex;
    gap: 30px;
}

.nav-link {
    font-weight: 600;
    font-size: 1rem;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px; left: 0;
    width: 0; height: 2px;
    background-color: var(--primary);
    transition: width 0.3s ease;
}
.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.social-top {
    display: flex;
    align-items: center;
    gap: 15px;
}
.social-top a {
    margin-left: 0;
    font-weight: 600;
    font-size: 0.9rem;
    position: relative;
    display: flex;
    align-items: center;
    color: var(--text-main);
    transition: var(--transition);
}
.social-top a:hover { transform: translateY(-2px); }
.social-top a[title="TikTok"]:hover {
    color: #000000;
    filter: drop-shadow(2px 2px 0px #00f2fe) drop-shadow(-2px -2px 0px #fe0050);
}
.social-top a[title="Instagram"]:hover {
    color: #E1306C;
}
.social-top a[title="Facebook"]:hover {
    color: #1877F2;
}
.google-review-link { color: #4285F4 !important; }
.social-top .google-review-link { margin-left: 10px; }
.google-review-link:hover { color: #EA4335 !important; transform: translateY(-2px); }
.google-review-link::after {
    content: '';
    position: absolute;
    bottom: -5px; left: 0;
    width: 0; height: 3px;
    background: linear-gradient(90deg, #4285F4 25%, #EA4335 25% 50%, #FBBC05 50% 75%, #34A853 75%);
    transition: width 0.3s ease;
    border-radius: 2px;
}
.google-review-link:hover::after { width: 100%; }

@media (min-width: 901px) {
    .header .container {
        max-width: none;
        width: 100%;
        padding-left: calc(28px + 2cm);
        padding-right: calc(28px + 2cm);
    }

    .logo a {
        font-size: calc(1.8rem + 2pt);
    }

    .nav-link {
        font-size: calc(1rem + 2pt);
    }

    .social-top a {
        font-size: calc(0.9rem + 2pt);
    }

    .header-right-wing {
        justify-content: flex-end;
    }
}

.mobile-menu-btn {
    display: none;
    flex-direction: row;
    gap: 5px;
    cursor: pointer;
}
.mobile-menu-btn span {
    width: 25px; height: 3px;
    background-color: var(--text-main);
    transition: 0.3s;
    transform-origin: center;
}
.mobile-menu-btn.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}
.mobile-menu-btn.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    background-color: var(--bg-light);
    position: relative;
    padding-top: 80px;
}

.hero-content {
    flex: 1;
    padding: 0 10%;
    z-index: 2;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
    color: var(--text-main);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.hero-image-container {
    flex: 1;
    height: 100%;
    position: relative;
}

/* ==========================================================================
   About Section
   ========================================================================== */
.about-container {
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 1480px;
    gap: clamp(60px, 6vw, 110px);
    padding-left: clamp(28px, 5vw, 80px);
    padding-right: clamp(28px, 5vw, 80px);
}
.about-text {
    flex: 0.9;
    max-width: 620px;
}

.about .section-title {
    font-size: clamp(3rem, 4vw, 4.4rem);
    line-height: 1.05;
}

.about-image {
    flex: 1.25;
    height: clamp(540px, 65vh, 700px);
    min-width: 0;
}

.about p {
    margin-bottom: 26px;
    font-size: clamp(1.15rem, 1.35vw, 1.38rem);
    line-height: 1.75;
}

/* ==========================================================================
   Pricing / Products
   ========================================================================== */
.pricing {
    background-color: var(--bg-white);
}

.product-item {
    width: 100%;
    max-width: 600px;
    background: var(--bg-white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.products-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px;
    margin-top: 50px;
}

.products-list .product-item:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    justify-self: center;
}

.centered-product {
    grid-column: 1 / -1;
    justify-self: center;
    width: 100%;
    max-width: 600px;
}

.product-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.product-item.flip-card {
    background: transparent;
    box-shadow: none;
    overflow: visible;
    perspective: 1200px;
    cursor: pointer;
}

.product-item.flip-card:hover {
    transform: none;
    box-shadow: none;
}

.product-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.7s ease;
}

.product-item.flip-card:focus-visible {
    outline: 3px solid var(--primary);
    outline-offset: 6px;
}

.product-item.flipped .product-card-inner {
    transform: rotateY(180deg);
}

.product-card-face {
    width: 100%;
    min-height: 100%;
    background: var(--bg-white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
    backface-visibility: hidden;
    transition: var(--transition);
}

.product-item.flip-card:hover .product-card-face {
    box-shadow: var(--shadow-hover);
}

.product-card-front {
    position: relative;
    padding-bottom: 38px;
}

.product-card-back {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 100%;
    padding: 32px;
    text-align: center;
    transform: rotateY(180deg);
}

.price-label {
    color: var(--text-muted);
    font-size: 1rem;
    font-weight: 600;
}

.price-value {
    color: var(--primary-dark);
    font-family: var(--font-heading);
    font-size: 3rem;
    line-height: 1;
}

.flip-arrow {
    position: absolute;
    left: 50%;
    bottom: 10px;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(197, 160, 89, 0.14);
    color: var(--primary-dark);
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1;
    transform: translateX(-50%);
}

.flip-arrow-back {
    bottom: 18px;
}

.product-item .product-img-wrapper {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

.product-item .product-img-wrapper .product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.product-item:hover .product-img-wrapper .product-img {
    transform: scale(1.05);
}

.product-info {
    padding: 25px;
    text-align: center;
}

.product-title {
    font-size: 1.3rem;
    margin-bottom: 10px;
    font-family: var(--font-heading);
}

.product-ingredients {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* ==========================================================================
   Gallery Slider
   ========================================================================== */
.slider-wrapper {
    position: relative;
    width: 100%;
    height: 620px;
    overflow: hidden;
    border-radius: 16px;
    margin-top: 40px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.12);
}

/* Slider inside about section fills the about-image container */
.about-image .slider-wrapper {
    height: 100%;
    margin-top: 0;
    border-radius: 12px;
}

.slider-track {
    display: flex;
    height: 100%;
    transition: transform 5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.slide {
    min-width: 100%;
    height: 100%;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.slide-shift-down img {
    object-position: center 68%;
}

.slide-contain {
    background: #f7f3ed;
}

.slide-contain img {
    object-fit: contain;
}

/* Arrows */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(8px);
    border: none;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    color: var(--text-main);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}
.slider-btn:hover {
    background: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}
.slider-prev { left: 16px; }
.slider-next { right: 16px; }

/* Dots */
.slider-dots {
    position: absolute;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}
.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid rgba(255,255,255,0.8);
}
.dot.active {
    background: white;
    transform: scale(1.3);
}

/* ==========================================================================
   Contact Section
   ========================================================================== */
.contact-container {
    display: flex;
    gap: 60px;
}
.contact-info { flex: 1; }
.contact-map { flex: 1; min-height: 350px; border-radius: 16px;}

.shop-name { font-size: 1.5rem; margin-bottom: 15px; }
.address { font-size: 1.1rem; margin-bottom: 30px; color: var(--text-muted); }
.address-link {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
    line-height: 1.8;
}
.address-link:hover {
    color: var(--primary);
    text-decoration: underline;
}

.contact-info a[href^="tel:"],
.contact-info a[href^="mailto:"],
.address-link span {
    direction: ltr;
    unicode-bidi: isolate;
}


.whatsapp-btn {
    background-color: var(--whatsapp);
    color: white;
}
.whatsapp-btn:hover { background-color: #1ebe5d; box-shadow: 0 10px 20px rgba(37, 211, 102, 0.3);}

/* ==========================================================================
   Google Review Banner
   ========================================================================== */
.review-banner {
    background: linear-gradient(135deg, #111 60%, #1a1a1a);
    padding: 70px 0;
}
.review-banner-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}
.review-stars {
    font-size: 2rem;
    color: #FBBC04;
    letter-spacing: 4px;
    margin-bottom: 10px;
}
.review-banner-text h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: white;
    margin-bottom: 10px;
}
.review-banner-text p {
    color: #ccc;
    font-size: 1.05rem;
}
.review-buttons {
    display: flex;
    flex-direction: row;
    gap: 14px;
    flex-shrink: 0;
}
.review-btn {
    background-color: var(--primary);
    color: white;
    padding: 14px 32px;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    box-shadow: 0 6px 20px rgba(197,160,89,0.3);
}
.review-btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(197,160,89,0.4);
}
.review-btn-outline {
    background-color: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    box-shadow: none;
}
.review-btn-outline:hover {
    background-color: var(--primary);
    color: white;
}

/* ==========================================================================
   Instagram Section
   ========================================================================== */
.instagram-section {
    background-color: var(--bg-light);
}
.instagram-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    align-items: center;
    flex-wrap: wrap;
}
.social-cards-wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    width: 400px;
    max-width: 100%;
    height: 480px;
}
.social-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    color: white;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    padding: 20px;
    text-align: center;
}
.social-tile:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}
.social-tile-icon {
    width: 60px;
    height: 60px;
    flex: 0 0 60px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
    margin-bottom: 14px;
}
.social-tile-title {
    display: block;
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 8px;
    text-align: center;
}
.social-tile-handle {
    display: block;
    font-size: 0.85rem;
    line-height: 1.2;
    background: rgba(255,255,255,0.2);
    padding: 6px 14px;
    border-radius: 20px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

@media (max-width: 500px) {
    .social-cards-wrapper {
        height: auto;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }
    .social-tile {
        min-width: 0;
        height: 170px;
        padding: 12px 8px;
    }
    .social-tile-icon {
        width: 50px;
        height: 50px;
        flex-basis: 50px;
        margin-bottom: 10px;
    }
    .social-tile-handle {
        width: 100%;
        padding: 5px 8px;
        font-size: 0.72rem;
    }
}

/* ==========================================================================
   Mobile Nav Overlay
   ========================================================================== */
.mobile-nav {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0; height: auto;
    background: var(--primary);
    backdrop-filter: blur(12px);
    z-index: 999;
    padding: 30px 20px 40px 20px;
    flex-direction: row;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    border-radius: 0 0 20px 20px;
}
.mobile-nav.open {
    display: flex;
}
.mobile-nav ul {
    list-style: none;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 30px;
}
.mobile-nav-link {
    font-size: 2rem;
    font-family: var(--font-heading);
    font-weight: 600;
    color: white;
    display: block;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background-color: var(--dark-section);
    color: white;
    padding: 40px 0;
    text-align: center;
}
.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.footer-links a { margin-left: 20px; color: #ccc; }
.footer-links a:hover { color: white; }

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    left: 20px;
    right: 20px;
    bottom: 20px;
    z-index: 1200;
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 18px 20px;
    background: var(--bg-white);
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 14px;
    box-shadow: 0 16px 45px rgba(0,0,0,0.18);
    text-align: left;
}

.cookie-banner.show {
    display: flex;
}

.cookie-content h2 {
    font-size: 1rem;
    margin-bottom: 5px;
}

.cookie-content p {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.5;
}

.cookie-content a {
    color: var(--primary-dark);
    font-weight: 600;
}

.cookie-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.cookie-btn {
    border: 2px solid var(--primary);
    border-radius: 999px;
    padding: 10px 18px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.cookie-btn-primary {
    background: var(--primary);
    color: white;
}

.cookie-btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
}

.cookie-btn-secondary {
    background: transparent;
    color: var(--text-main);
}

.cookie-btn-secondary:hover {
    background: var(--text-main);
    border-color: var(--text-main);
    color: white;
}

.cookie-embed:not([src]) {
    display: none;
}

.cookie-placeholder {
    display: flex;
    min-height: 280px;
    padding: 24px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 10px;
    text-align: center;
    color: var(--text-muted);
    background: #f6f6f6;
    border: 1px dashed rgba(0,0,0,0.18);
    border-radius: 12px;
}

.instagram-reel .cookie-placeholder {
    min-height: 480px;
}

.cookie-placeholder strong {
    color: var(--text-main);
    font-size: 1.05rem;
}

.cookie-placeholder p {
    max-width: 340px;
}

.cookie-placeholder.is-hidden {
    display: none;
}

.cookie-inline-accept {
    margin-top: 4px;
    border: 2px solid var(--primary);
    border-radius: 999px;
    background: var(--primary);
    color: white;
    padding: 10px 18px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.cookie-inline-accept:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
}

/* Floating WhatsApp */
.floating-whatsapp {
    position: fixed;
    bottom: 30px; right: 30px;
    background-color: var(--whatsapp);
    width: 60px; height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    z-index: 1000;
    transition: var(--transition);
    animation: pulse 2s infinite;
}
.floating-whatsapp:hover {
    transform: scale(1.1);
    animation: none;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ==========================================================================
   Animations & Transitions classes
   ========================================================================== */
.hidden-element {
    opacity: 0;
    transition: var(--transition);
}

/* Fade In */
.fade-in-anim {
    opacity: 0;
    transform: translateY(30px);
}
.fade-in-anim.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Slide Up (Hero) */
.slide-up-anim h1, .slide-up-anim p, .slide-up-anim .hero-buttons {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.slide-up-anim.visible h1 { opacity: 1; transform: translateY(0); transition-delay: 0.2s;}
.slide-up-anim.visible p { opacity: 1; transform: translateY(0); transition-delay: 0.4s;}
.slide-up-anim.visible .hero-buttons { opacity: 1; transform: translateY(0); transition-delay: 0.6s;}

/* Staggered Children */
.stagger-anim {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}
.stagger-anim.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 900px) {
    html,
    body {
        touch-action: pan-y pinch-zoom;
    }

    .engagement-page.scroll-page {
        min-height: 0;
        display: block;
        overflow: visible;
        border-radius: 0;
        box-shadow: none;
        isolation: auto;
    }

    .engagement-page.scroll-page::before {
        display: none;
    }

    .engagement-page > .mobile-scroll-page {
        position: relative;
        min-height: calc(100svh - var(--page-header-height, 120px));
        display: flex;
        align-items: center;
        scroll-margin-top: var(--page-header-height, 120px);
        border-radius: 32px 32px 0 0;
        box-shadow:
            0 -10px 18px rgba(0, 0, 0, 0.12),
            0 -28px 60px rgba(0, 0, 0, 0.18);
        isolation: isolate;
    }

    .engagement-page > .mobile-scroll-page::before {
        content: '';
        position: absolute;
        top: 0;
        left: 50%;
        width: min(120px, 28vw);
        height: 4px;
        border-radius: 0 0 999px 999px;
        background: var(--primary);
        transform: translateX(-50%);
        z-index: 2;
    }

    .engagement-page > .mobile-scroll-page > .container {
        width: 100%;
    }

    .header-container {
        flex-wrap: wrap;
        height: auto;
        padding-top: 15px;
        padding-bottom: 15px;
    }
    .logo {
        flex: 1;
        order: 1;
        text-align: center;
        padding-left: 25px; /* Balances the 25px width of the mobile menu btn for perfect centering */
    }
    .mobile-menu-btn {
        display: flex;
        order: 2;
    }
    .header-right-wing {
        width: 100%;
        justify-content: center;
        margin-top: 15px;
        gap: 30px;
        order: 3;
    }
    .social-top {
        gap: 25px;
    }
    .google-review-link {
        display: none;
    }

    .hero { flex-direction: row; text-align: center; padding-top: 140px; height: auto;}
    .hero-content { padding: 40px 20px; }
    .hero-buttons { justify-content: center; }
    .hero-image-container { min-height: 400px; width: 100%;}
    
    .about-container, .contact-container { flex-direction: row; }
    .nav { display: none; }
    .footer-container { flex-direction: row; gap: 20px; }
    .language-switcher { margin: 0; }
}

/* Responsive refinements for tablet and mobile */
@media (max-width: 1100px) {
    .container {
        max-width: 960px;
    }

    .hero-title {
        font-size: 3.6rem;
    }

    .products-list {
        gap: 32px;
    }

    .about-container,
    .contact-container {
        gap: 36px;
    }
}

@media (max-width: 900px) {
    .section {
        padding: 75px 0;
    }

    .hero {
        flex-direction: column;
        justify-content: center;
        min-height: auto;
        height: auto;
        padding-top: 150px;
    }

    .hero-content {
        width: 100%;
        padding: 40px 24px 20px;
        text-align: center;
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero-image-container {
        width: 100%;
        min-height: 320px;
        height: auto;
        padding: 0 20px 40px;
    }

    .hero-image-container img {
        width: min(620px, 100%) !important;
        height: auto;
    }

    .about-container,
    .contact-container {
        flex-direction: column;
    }

    .about-text,
    .about-image,
    .contact-info,
    .contact-map {
        width: 100%;
    }

    .about-container {
        max-width: 760px;
        padding-left: 24px;
        padding-right: 24px;
        gap: 42px;
    }

    .about-text {
        max-width: none;
    }

    .about-image {
        flex: none;
        height: 560px;
    }

    .products-list {
        grid-template-columns: 1fr;
        max-width: 620px;
        margin-left: auto;
        margin-right: auto;
    }

    .centered-product {
        grid-column: auto;
    }

    .review-banner-inner {
        justify-content: center;
        text-align: center;
    }

    .review-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }

    .instagram-grid {
        flex-direction: column;
    }

    .instagram-reel,
    .instagram-reel iframe {
        width: min(400px, 100%);
    }

    .contact-map iframe {
        max-width: 100%;
    }

    .footer-container {
        flex-direction: column;
        justify-content: center;
        gap: 18px;
    }

    .footer-links {
        display: flex;
        justify-content: center;
        gap: 18px;
        flex-wrap: wrap;
    }

    .footer-links a {
        margin-left: 0;
    }
}

@media (max-width: 600px) {
    .container {
        padding: 0 16px;
    }

    .section {
        padding: 60px 0;
    }

    .about-container {
        padding-left: 16px;
        padding-right: 16px;
        gap: 32px;
    }

    .about .section-title {
        font-size: 2.65rem;
    }

    .about p {
        font-size: 1.08rem;
        line-height: 1.7;
        margin-bottom: 20px;
    }

    .about-image {
        height: 430px;
    }

    .hero {
        padding-top: 165px;
    }

    .hero-title,
    .section-title {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .btn {
        width: 100%;
        max-width: 320px;
        text-align: center;
        padding: 13px 20px;
    }

    .hero-buttons,
    .review-buttons,
    .contact-links {
        align-items: center;
    }

    .products-list {
        gap: 28px;
    }

    .product-info {
        padding: 20px 16px;
    }

    .social-cards-wrapper {
        width: 100%;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
        height: auto;
    }

    .social-tile {
        min-width: 0;
        min-height: 170px;
    }

    .review-banner {
        padding: 55px 0;
    }

    .review-stars {
        font-size: 1.5rem;
        letter-spacing: 2px;
    }

    .review-banner-text h2 {
        font-size: 1.7rem;
    }

    .contact-map iframe {
        height: 240px;
    }

    .floating-whatsapp {
        width: 54px;
        height: 54px;
        right: auto;
        left: 18px;
        bottom: 18px;
    }

    .cookie-banner {
        left: 12px;
        right: 12px;
        bottom: 12px;
        flex-direction: column;
        align-items: stretch;
        padding: 16px;
    }

    .cookie-actions {
        flex-direction: column-reverse;
    }

    .cookie-btn {
        width: 100%;
    }
}

@media (max-width: 420px) {
    .header-right-wing {
        gap: 16px;
    }

    .social-top {
        gap: 16px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .google-review-link {
        width: 100%;
        justify-content: center;
    }

    .hero-title,
    .section-title {
        font-size: 2rem;
    }

    .legal-container {
        padding: 26px 18px;
    }

    .legal-container h1 {
        font-size: 1.8rem;
    }
}

/* Requested tablet/mobile header and product layout */
@media (max-width: 900px) {
    .header-container {
        display: grid;
        grid-template-columns: 1fr auto;
        row-gap: 8px;
        min-height: auto;
        padding-top: 8px;
        padding-bottom: 8px;
    }

    .logo {
        order: 1;
        flex: none;
        text-align: left;
        padding-left: 0;
    }

    .logo a {
        font-size: 1.45rem;
        letter-spacing: 0;
    }

    .mobile-menu-btn {
        order: 2;
        display: flex;
        flex-direction: column;
        justify-self: end;
        align-self: center;
        gap: 4px;
    }

    .mobile-menu-btn span {
        width: 24px;
        height: 3px;
    }

    .header-right-wing {
        order: 3;
        grid-column: 1 / -1;
        width: 100%;
        margin-top: 0;
        display: grid;
        grid-template-columns: 1fr auto;
        align-items: center;
        gap: 10px;
    }

    .social-top {
        justify-content: flex-start;
        gap: 14px;
        min-width: 0;
    }

    .google-review-link {
        display: flex;
        font-size: 0.85rem;
        white-space: nowrap;
    }

    .language-switcher {
        justify-self: end;
        margin: 0;
    }

    .lang-btn {
        padding: 4px 8px;
        font-size: 0.78rem;
        border-radius: 16px;
        gap: 4px;
    }

    .lang-btn img,
    .lang-flag img {
        width: 18px;
        height: auto;
    }

    .lang-dropdown {
        right: 0;
        min-width: 128px;
    }

    .lang-option {
        padding: 10px 12px;
        font-size: 0.9rem;
    }

    .mobile-nav {
        background: var(--dark-section);
        padding: 18px 20px 22px;
        flex-direction: column;
        border-radius: 0 0 14px 14px;
    }

    .mobile-nav ul {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }

    .mobile-nav-link {
        color: white;
        font-size: 1.35rem;
        text-align: center;
        padding: 8px 0;
    }

    .mobile-nav-link.active {
        color: var(--primary);
    }

    .mobile-nav-link::after {
        display: none;
    }

    .products-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        max-width: none;
        gap: 22px;
    }

    .product-item {
        max-width: none;
    }

    .centered-product,
    .products-list .product-item:last-child:nth-child(odd) {
        grid-column: 1 / -1;
        justify-self: center;
        width: calc((100% - 22px) / 2);
        max-width: none;
    }
}

@media (max-width: 600px) {
    .header-container {
        row-gap: 6px;
    }

    .logo a {
        font-size: 1.25rem;
    }

    .header-right-wing {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 8px;
    }

    .social-top {
        gap: 10px;
    }

    .social-top a svg {
        width: 18px;
        height: 18px;
    }

    .google-review-link {
        font-size: 0.78rem;
    }

    .products-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    .product-title {
        font-size: 1rem;
    }

    .product-ingredients {
        font-size: 0.82rem;
        line-height: 1.45;
    }

    .product-info {
        padding: 14px 10px;
    }

    .centered-product,
    .products-list .product-item:last-child:nth-child(odd) {
        width: calc((100% - 14px) / 2);
    }
}

@media (max-width: 420px) {
    .header-right-wing {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 6px;
    }

    .social-top {
        flex-wrap: nowrap;
        gap: 8px;
    }

    .google-review-link {
        width: auto;
        justify-content: flex-start;
        font-size: 0.74rem;
    }

    .lang-btn {
        padding: 4px 7px;
    }

    .products-list {
        gap: 10px;
    }

    .centered-product,
    .products-list .product-item:last-child:nth-child(odd) {
        width: calc((100% - 10px) / 2);
    }
}

/* ==========================================================================
   Language Switcher
   ========================================================================== */
.language-switcher {
    position: relative;
    display: inline-block;
    margin-left: 20px;
}
.lang-btn {
    background: transparent;
    border: 1px solid var(--primary);
    color: var(--text-main);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
}
.lang-btn:hover {
    background: var(--primary);
    color: white;
}

/* Custom main button colors based on active language */
.lang-btn[data-current-lang="de"] { border-color: #dd0000; color: #dd0000; }
.lang-btn[data-current-lang="de"] .lang-code { color: #dd0000; }
.lang-btn[data-current-lang="de"]:hover { background-color: #dd0000; color: white; }
.lang-btn[data-current-lang="de"]:hover .lang-code { color: white; }

.lang-btn[data-current-lang="en"] { border-color: #012169; color: #012169; }
.lang-btn[data-current-lang="en"] .lang-code { color: #012169; }
.lang-btn[data-current-lang="en"]:hover { background-color: #012169; color: white; }
.lang-btn[data-current-lang="en"]:hover .lang-code { color: white; }

.lang-btn[data-current-lang="ar"] { border-color: #007A3D; color: #007A3D; }
.lang-btn[data-current-lang="ar"] .lang-code { color: #007A3D; }
.lang-btn[data-current-lang="ar"]:hover { background-color: #007A3D; color: white; }
.lang-btn[data-current-lang="ar"]:hover .lang-code { color: white; }

.lang-btn[data-current-lang="ku"] { border-color: #fbb034; color: var(--text-main); }
.lang-btn[data-current-lang="ku"]:hover { background-color: #fbb034; color: black; }
.lang-btn[data-current-lang="ku"]:hover .lang-code { color: black; }
.lang-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    min-width: 150px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
    z-index: 1001;
}
.lang-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.lang-option {
    background: transparent;
    border: none;
    padding: 12px 20px;
    text-align: left;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: background 0.2s;
    color: var(--text-main);
}
.lang-option[data-lang="de"]:hover {
    background-color: #dd0000;
    color: white;
}
.lang-option[data-lang="en"]:hover {
    background-color: #012169;
    color: white;
}
.lang-option[data-lang="ar"]:hover {
    background-color: #007A3D;
    color: white;
}
.lang-option[data-lang="ku"]:hover {
    background-color: #fbb034;
    color: black;
}
.lang-flag {
    font-size: 1.2rem;
}

/* ==========================================================================
   RTL Support (Arabic / Kurdish)
   ========================================================================== */
[dir="rtl"] {
    text-align: right;
}
[dir="rtl"] .logo { margin-left: 40px; margin-right: 0; }
[dir="rtl"] .nav-list { flex-direction: row-reverse; }
[dir="rtl"] .hero-buttons, [dir="rtl"] .review-buttons { flex-direction: row-reverse; justify-content: flex-end; }
[dir="rtl"] .slider-btn { transform: translateY(-50%) rotate(180deg); }
[dir="rtl"] .slider-btn:hover { transform: translateY(-50%) scale(1.1) rotate(180deg); }
[dir="rtl"] .lang-dropdown { left: 0; right: auto; }
[dir="rtl"] .lang-option { text-align: right; flex-direction: row-reverse; }
[dir="rtl"] .hero-content,
[dir="rtl"] .about-text,
[dir="rtl"] .contact-info,
[dir="rtl"] .cookie-content {
    text-align: right;
}
[dir="rtl"] .hero-subtitle {
    margin-left: 0;
    margin-right: 0;
}
[dir="rtl"] .review-btn svg {
    margin-right: 0 !important;
    margin-left: 8px !important;
}
[dir="rtl"] .floating-whatsapp {
    right: auto;
    left: 30px;
}

@media (max-width: 900px) {
    [dir="rtl"] .logo {
        margin: 0;
        text-align: right;
    }

    [dir="rtl"] .hero-content {
        text-align: center;
    }

    [dir="rtl"] .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    [dir="rtl"] .hero-buttons,
    [dir="rtl"] .review-buttons {
        justify-content: center;
    }
}

@media (max-width: 600px) {
    [dir="rtl"] .floating-whatsapp {
        left: auto;
        right: 18px;
    }
}

/* Tablet header: switch before the desktop controls can collide. The actual
   header height is measured in script.js, so section and legal-page offsets
   always follow this layout automatically. */
@media (max-width: 1180px) {
    .header .header-container {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        row-gap: 8px;
        height: auto;
        min-height: 0;
        padding: 8px clamp(20px, 4vw, 36px);
    }

    .nav {
        display: none;
    }

    .logo {
        min-width: 0;
        margin: 0;
        padding: 0;
        text-align: left;
    }

    .logo a {
        display: inline-block;
        font-size: clamp(1.25rem, 2.5vw, 1.45rem);
        letter-spacing: 0;
        overflow-wrap: anywhere;
    }

    .mobile-menu-btn {
        display: flex;
        flex-direction: column;
        justify-self: end;
        align-self: center;
        gap: 4px;
    }

    .mobile-menu-btn span {
        width: 24px;
        height: 3px;
    }

    .header-right-wing {
        display: grid;
        grid-column: 1 / -1;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        width: 100%;
        margin: 0;
        gap: 10px;
    }

    .social-top {
        min-width: 0;
        justify-content: flex-start;
        gap: clamp(10px, 2vw, 14px);
    }

    .google-review-link {
        display: flex;
        white-space: nowrap;
        font-size: 0.85rem;
    }

    .language-switcher {
        justify-self: end;
        margin: 0;
    }

    .lang-btn {
        padding: 4px 8px;
        font-size: 0.78rem;
        border-radius: 16px;
        gap: 4px;
    }

    .lang-btn img,
    .lang-flag img {
        width: 18px;
        height: auto;
    }

    .lang-dropdown {
        right: 0;
        min-width: 128px;
    }

    .mobile-nav {
        background: var(--dark-section);
        padding: 18px 20px 22px;
        flex-direction: column;
        border-radius: 0 0 14px 14px;
    }

    .mobile-nav ul {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }

    .mobile-nav-link {
        color: white;
        font-size: 1.35rem;
        text-align: center;
        padding: 8px 0;
    }

    .mobile-nav-link::after {
        display: none;
    }

    .legal-embedded {
        scroll-margin-top: calc(var(--page-header-height, 120px) + 12px);
    }

    [dir="rtl"] .logo {
        margin: 0;
        text-align: right;
    }
}


