/* -------------------------------------------------------------
   Chiya Dani — Premium Style Sheet (Mobile-First)
   Inspired by Aesop, Apple, and High-End Cafés
   ------------------------------------------------------------- */

/* Reset & Base Setup */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    /* Color Palette - Requested Brand Colors */
    --color-cream: #F5EBDD;               /* Page Background */
    --color-dark-brown-bg: #6B3E26;       /* Navbar & Footer Background */
    --color-headings: #4A2C1A;            /* Primary Title Elements */
    --color-accent-sage: #7A8C6B;         /* Icons, Highlights, Badges */
    --color-caramel: #A97142;             /* Active/Secondary Buttons */
    --color-gold: #C99B5E;                /* CTA & Hover Accents */
    
    /* Additional Palette Helpers */
    --color-white: #FFFFFF;
    --color-charcoal-muted: #5C524C;      /* Readable warm charcoal for body */
    
    /* Typography */
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    
    /* Transition systems */
    --transition-smooth: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-quick: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--color-cream);
    color: var(--color-headings);
}

body {
    font-family: var(--font-body);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    letter-spacing: -0.01em;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: var(--color-cream);
}
::-webkit-scrollbar-thumb {
    background: var(--color-accent-sage);
    border-radius: 3px;
    opacity: 0.7;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--color-dark-brown-bg);
}

/* Typography Rules */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 400;
    line-height: 1.25;
    color: var(--color-headings);
    letter-spacing: -0.02em;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-quick);
}

/* Base Mobile Layout Spacing */
.container {
    width: 88%;
    margin: 0 auto;
}

.section-padding {
    padding: 100px 0; /* Rich mobile spacing */
}

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

/* Mobile-First layout: Single column by default */
.grid-2-col {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: center;
}

/* Scroll Progress Indicator */
.scroll-progress-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: transparent;
    z-index: 1000;
}

.scroll-progress-bar {
    height: 100%;
    width: 0%;
    background: var(--color-caramel);
    transition: width 0.1s ease-out;
}

/* Sticky Floating CTA */
.floating-cta {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: var(--color-dark-brown-bg);
    color: var(--color-cream);
    padding: 14px 24px;
    border-radius: 100px;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 12px 30px rgba(74, 44, 26, 0.25);
    border: 1px solid rgba(245, 235, 221, 0.1);
    z-index: 99;
    transform: translateY(120px);
    transition: var(--transition-smooth);
}

.floating-cta.show {
    transform: translateY(0);
}

.floating-cta:hover {
    background: var(--color-caramel);
    transform: translateY(-4px);
    box-shadow: 0 16px 35px rgba(74, 44, 26, 0.35);
}

.cta-dot {
    width: 8px;
    height: 8px;
    background-color: var(--color-gold);
    border-radius: 50%;
    display: inline-block;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.8); opacity: 0.5; }
    50% { transform: scale(1.3); opacity: 1; }
    100% { transform: scale(0.8); opacity: 0.5; }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 36px;
    font-size: 0.84rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-radius: 100px;
    transition: var(--transition-smooth);
    cursor: pointer;
    border: 1px solid transparent;
}

.btn-primary {
    background: var(--color-caramel);
    color: var(--color-cream);
    box-shadow: 0 8px 20px rgba(169, 113, 66, 0.15);
}

.btn-primary:hover {
    background: var(--color-gold);
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(169, 113, 66, 0.25);
}

.btn-secondary {
    background: var(--color-dark-brown-bg);
    color: var(--color-cream);
    box-shadow: 0 8px 20px rgba(107, 62, 38, 0.15);
}

.btn-secondary:hover {
    background: var(--color-caramel);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border: 1px solid rgba(245, 235, 221, 0.5);
    color: var(--color-cream);
    backdrop-filter: blur(4px);
}

.btn-outline:hover {
    background: var(--color-cream);
    color: var(--color-headings);
    border-color: var(--color-cream);
    transform: translateY(-2px);
}

/* Header & Navigation */
.header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 24px 0;
    background: transparent;
    border-bottom: none;
    box-shadow: none;
}

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

.logo {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--color-cream); /* Cream color to contrast with the dark hero bg */
    text-shadow: 0 1px 3px rgba(0,0,0,0.15);
}

.logo span {
    color: var(--color-gold);
}

/* Mobile defaults: Hide desktop links */
.nav-links {
    display: none;
}

.mobile-nav-toggle {
    display: flex;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
    z-index: 110;
    padding: 8px;
}

.mobile-nav-toggle .bar {
    width: 24px;
    height: 1.5px;
    background-color: var(--color-cream); /* Cream color for mobile toggle */
    transition: var(--transition-quick);
}

/* Mobile Navigation Overlay */
.mobile-nav {
    position: fixed;
    top: 0;
    left: 100%;
    width: 100%;
    height: 100vh;
    background: rgba(107, 62, 38, 0.98); /* Brand Dark Brown background with glassmorphism overlay */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 28px;
    z-index: 90;
    transition: left 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-nav.open {
    left: 0;
}

.mobile-link {
    font-size: 1.6rem;
    color: var(--color-cream);
    font-family: var(--font-heading);
    letter-spacing: 0.02em;
    position: relative;
    padding: 4px 0;
}

/* Sequential Link Slide-In Animations */
.mobile-nav .mobile-link, .mobile-nav .btn {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-nav.open .mobile-link, .mobile-nav.open .btn {
    opacity: 1;
    transform: translateY(0);
}

.mobile-nav.open .mobile-link:nth-child(1) { transition-delay: 0.1s; }
.mobile-nav.open .mobile-link:nth-child(2) { transition-delay: 0.16s; }
.mobile-nav.open .mobile-link:nth-child(3) { transition-delay: 0.22s; }
.mobile-nav.open .mobile-link:nth-child(4) { transition-delay: 0.28s; }
.mobile-nav.open .btn { transition-delay: 0.34s; }

/* Mathematically perfect hamburger-to-X animation */
.mobile-nav-toggle.open .bar:nth-child(1) {
    transform: translateY(3.75px) rotate(45deg);
    background-color: var(--color-cream); /* Ensure bar changes back to cream over menu overlay */
}

.mobile-nav-toggle.open .bar:nth-child(2) {
    transform: translateY(-3.75px) rotate(-45deg);
    background-color: var(--color-cream); /* Ensure bar changes back to cream over menu overlay */
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-cream);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
    transform: scale(1.06);
    animation: slowZoom 24s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

@keyframes slowZoom {
    to { transform: scale(1.00); }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(74, 44, 26, 0.85) 0%, rgba(74, 44, 26, 0.45) 60%, rgba(74, 44, 26, 0.95) 100%);
    z-index: 2;
}

/* Ambient Steam Particles */
.steam-container {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%;
    z-index: 3;
    pointer-events: none;
    overflow: hidden;
}

.steam-particle {
    position: absolute;
    bottom: -50px;
    background: radial-gradient(circle, rgba(245, 235, 221, 0.1) 0%, rgba(245, 235, 221, 0) 70%);
    border-radius: 50%;
    filter: blur(10px);
    animation: riseSteam 12s ease-in-out infinite;
}

@keyframes riseSteam {
    0% {
        transform: translateY(0) scale(1) translateX(0);
        opacity: 0;
    }
    10% {
        opacity: 0.8;
    }
    90% {
        opacity: 0.3;
    }
    100% {
        transform: translateY(-420px) scale(2.5) translateX(50px);
        opacity: 0;
    }
}

.hero-content {
    position: relative;
    z-index: 4;
    text-align: center;
    max-width: 600px;
    padding: 0 24px;
}

.badge-wrapper {
    margin-bottom: 20px;
}

.premium-badge {
    display: inline-block;
    padding: 8px 18px;
    border-radius: 100px;
    border: 1px solid rgba(245, 235, 221, 0.25);
    background: rgba(245, 235, 221, 0.08);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-gold);
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.hero-title {
    font-size: 3rem;
    color: var(--color-cream);
    margin-bottom: 20px;
    letter-spacing: -0.02em;
    font-weight: 400;
    line-height: 1.15;
}

.hero-subtitle {
    font-size: 1.05rem;
    font-weight: 300;
    max-width: 480px;
    margin: 0 auto 36px auto;
    opacity: 0.95;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
    width: 100%;
}

.hero-actions .btn {
    width: 90%;
    max-width: 280px;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 35px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0.8;
}

.hero-scroll-indicator .mouse {
    width: 22px;
    height: 34px;
    border: 1.5px solid var(--color-cream);
    border-radius: 12px;
    position: relative;
}

.hero-scroll-indicator .wheel {
    width: 3px;
    height: 6px;
    background-color: var(--color-cream);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollMouse 1.8s ease-in-out infinite;
}

.hero-scroll-indicator .scroll-text {
    font-size: 0.6rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

@keyframes scrollMouse {
    0% { transform: translate(-50%, 0); opacity: 0; }
    30% { opacity: 1; }
    80% { transform: translate(-50%, 10px); opacity: 0; }
    100% { opacity: 0; }
}

/* Editorial Story Section */
.story-section {
    background-color: var(--color-cream);
}

.story-visual {
    position: relative;
}

.image-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.story-img {
    width: 100%;
    display: block;
    transition: var(--transition-smooth);
    border-radius: 8px;
}

.story-img:hover {
    transform: scale(1.02);
}

.experience-badge {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background-color: var(--color-dark-brown-bg);
    color: var(--color-cream);
    padding: 15px 20px;
    border-radius: 6px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
}

.experience-badge .number {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    line-height: 1;
    margin-bottom: 2px;
    color: var(--color-gold);
}

.experience-badge .label {
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
}

.section-tagline {
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-accent-sage);
    display: block;
    margin-bottom: 12px;
}

.section-title {
    font-size: 2.15rem;
    margin-bottom: 18px;
    letter-spacing: -0.01em;
}

.section-subtitle {
    font-size: 0.95rem;
    font-weight: 300;
    color: var(--color-charcoal-muted);
    max-width: 550px;
    margin: 0 auto 35px auto;
}

.story-text {
    font-size: 0.95rem;
    color: var(--color-charcoal-muted);
    margin-bottom: 16px;
    font-weight: 300;
}

/* Dynamic Tea Card */
.tea-of-the-day-card {
    background-color: var(--color-white);
    padding: 24px;
    border-radius: 8px;
    margin-top: 30px;
    border: 1px solid rgba(107, 62, 38, 0.08);
    position: relative;
    transition: var(--transition-smooth);
}

.tea-of-the-day-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(107, 62, 38, 0.04);
}

.tea-of-the-day-card .card-tag {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 700;
    color: var(--color-caramel);
    opacity: 0.8;
}

.tea-of-the-day-card .tea-title {
    font-size: 1.25rem;
    margin-bottom: 6px;
}

.tea-of-the-day-card .tea-desc {
    font-size: 0.85rem;
    color: var(--color-charcoal-muted);
    margin-bottom: 10px;
}

.tea-of-the-day-card .tea-highlight {
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--color-accent-sage);
}

/* Signature Menu Section */
.menu-section {
    background-color: var(--color-cream);
    border-top: 1px solid rgba(0, 0, 0, 0.03);
}

.menu-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
    margin-bottom: 35px;
}

.filter-btn {
    background: none;
    border: 1px solid rgba(74, 44, 26, 0.15);
    padding: 8px 18px;
    border-radius: 100px;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition-quick);
    color: var(--color-headings);
}

.filter-btn:hover {
    border-color: var(--color-caramel);
    color: var(--color-caramel);
}

.filter-btn.active {
    background-color: var(--color-caramel);
    color: var(--color-cream);
    border-color: var(--color-caramel);
}

/* Mobile-First Menu Grid: Single Column */
.menu-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.menu-item {
    background-color: var(--color-white);
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition-smooth);
    border: 1px solid rgba(107, 62, 38, 0.05);
}

.menu-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 30px rgba(107, 62, 38, 0.05);
}

.menu-item-img-wrapper {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.menu-item-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.menu-item:hover .menu-item-img {
    transform: scale(1.03);
}

.menu-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: var(--color-accent-sage);
    color: var(--color-cream);
    font-size: 0.6rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 4px 10px;
    border-radius: 100px;
}

.menu-item-info {
    padding: 24px;
}

.menu-item-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 10px;
}

.menu-item-name {
    font-size: 1.25rem;
}

.menu-item-price {
    font-weight: 600;
    font-size: 1rem;
    color: var(--color-caramel);
}

.menu-item-desc {
    font-size: 0.85rem;
    color: var(--color-charcoal-muted);
    font-weight: 300;
    line-height: 1.5;
}

/* Gallery Section */
.gallery-section {
    background-color: var(--color-cream);
    border-top: 1px solid rgba(0, 0, 0, 0.03);
}

/* Mobile-First Gallery Grid: Single Column */
.gallery-grid {
    display: grid;
    grid-template-columns: 1fr;
    grid-auto-rows: 240px;
    gap: 15px;
    margin-top: 35px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(74, 44, 26, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-quick);
}

.gallery-overlay span {
    color: var(--color-cream);
    font-family: var(--font-heading);
    font-size: 1.15rem;
    transform: translateY(8px);
    transition: var(--transition-quick);
}

.gallery-item:hover .gallery-img {
    transform: scale(1.03);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover .gallery-overlay span {
    transform: translateY(0);
}

/* Gallery Lightbox */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(74, 44, 26, 0.96);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-quick);
}

.lightbox.open {
    opacity: 1;
    pointer-events: all;
}

.lightbox-img {
    max-width: 90%;
    max-height: 80%;
    object-fit: contain;
    border-radius: 4px;
    transform: scale(0.95);
    transition: var(--transition-smooth);
}

.lightbox.open .lightbox-img {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 25px;
    background: none;
    border: none;
    color: var(--color-cream);
    font-size: 2.5rem;
    cursor: pointer;
    line-height: 1;
}

/* Testimonials Section */
.testimonials-section {
    background-color: var(--color-cream);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.testimonial-container {
    max-width: 700px;
    margin: 40px auto 0 auto;
}

.testimonial-slider-wrapper {
    overflow: hidden;
    width: 100%;
}

.testimonial-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.testimonial-slide {
    min-width: 100%;
    text-align: center;
    padding: 0 20px;
}

.stars {
    color: var(--color-gold);
    font-size: 1rem;
    margin-bottom: 16px;
    letter-spacing: 0.1em;
}

.testimonial-quote {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    line-height: 1.45;
    font-style: italic;
    color: var(--color-headings);
    margin-bottom: 24px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.author-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
}

.author-meta {
    text-align: left;
}

.author-name {
    font-size: 0.9rem;
    font-weight: 600;
    display: block;
    color: var(--color-headings);
}

.author-title {
    font-size: 0.72rem;
    color: var(--color-charcoal-muted);
}

.testimonial-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 35px;
}

.control-btn {
    background: none;
    border: 1px solid rgba(74, 44, 26, 0.15);
    color: var(--color-headings);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-quick);
}

.control-btn:hover {
    background-color: var(--color-caramel);
    border-color: var(--color-caramel);
    color: var(--color-cream);
}

.slider-index {
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    color: var(--color-charcoal-muted);
}

/* Visit Us Section */
.visit-section {
    background-color: var(--color-cream);
    border-top: 1px solid rgba(0, 0, 0, 0.03);
}

.visit-info {
    padding-right: 0;
}

.visit-desc {
    color: var(--color-charcoal-muted);
    font-weight: 300;
    margin-bottom: 30px;
}

.info-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 35px;
}

.info-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.info-icon {
    color: var(--color-accent-sage);
    width: 20px;
    height: 20px;
    margin-top: 3px;
}

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

.info-item p {
    font-size: 0.85rem;
    color: var(--color-charcoal-muted);
    font-weight: 300;
}

.cta-btn {
    width: 100%;
    max-width: 260px;
}

/* Stylized Visual Map Card */
.visit-map-container {
    perspective: 1000px;
}

.map-card-wrapper {
    background-color: var(--color-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(74, 44, 26, 0.05);
    border: 1px solid rgba(107, 62, 38, 0.05);
    transition: var(--transition-smooth);
}

.map-card-wrapper:hover {
    transform: translateY(-3px);
    box-shadow: 0 30px 50px rgba(74, 44, 26, 0.08);
}

.custom-map {
    height: 260px;
    background-color: #EDE2D3;
    position: relative;
    overflow: hidden;
}

/* Minimalist Map Details */
.map-grid-line {
    position: absolute;
    background-color: rgba(107, 62, 38, 0.06);
}

.map-grid-line.h1 { top: 30%; left: 0; width: 100%; height: 2px; }
.map-grid-line.h2 { top: 70%; left: 0; width: 100%; height: 3px; }
.map-grid-line.v1 { left: 40%; top: 0; height: 100%; width: 2px; }
.map-grid-line.v2 { left: 75%; top: 0; height: 100%; width: 3px; }

.map-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 14px;
    height: 14px;
    background-color: var(--color-accent-sage);
    border-radius: 50%;
    z-index: 5;
}

.map-circle.ripple::after {
    content: '';
    position: absolute;
    top: -6px;
    left: -6px;
    right: -6px;
    bottom: -6px;
    border-radius: 50%;
    border: 2px solid var(--color-accent-sage);
    opacity: 0;
    animation: rippleEffect 2.5s infinite;
}

@keyframes rippleEffect {
    0% { transform: scale(0.5); opacity: 1; }
    100% { transform: scale(2.2); opacity: 0; }
}

.map-label {
    position: absolute;
    top: 56%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-dark-brown-bg);
    color: var(--color-cream);
    padding: 5px 10px;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    border-radius: 4px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    z-index: 6;
}

.map-card-footer {
    padding: 20px 24px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
    border-top: 1px solid rgba(107, 62, 38, 0.05);
}

.map-address {
    font-size: 0.78rem;
    color: var(--color-charcoal-muted);
    font-weight: 300;
    text-align: center;
}

.map-socials {
    display: flex;
    gap: 15px;
}

.map-socials a {
    color: var(--color-charcoal-muted);
}

.map-socials a:hover {
    color: var(--color-caramel);
}

/* Footer styling - Dark Brown background */
.footer {
    background-color: var(--color-dark-brown-bg);
    color: var(--color-cream);
    padding: 60px 0 30px 0;
}

.footer-logo {
    color: var(--color-cream);
    font-size: 1.85rem;
    margin-bottom: 12px;
}

.footer-logo span {
    color: var(--color-gold);
}

.footer-quote {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-style: italic;
    opacity: 0.8;
    margin-bottom: 30px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    margin-bottom: 40px;
}

.footer-links a {
    font-size: 0.78rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    opacity: 0.7;
}

.footer-links a:hover {
    opacity: 1;
}

.footer-note {
    font-size: 0.7rem;
    opacity: 0.45;
    margin-bottom: 12px;
}

.footer-copyright {
    font-size: 0.7rem;
    opacity: 0.3;
}

/* Scroll Trigger Animations Setup */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-on-scroll.active {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.3s; }
.delay-3 { transition-delay: 0.45s; }

/* CSS Fade In Up for Hero */
.fade-in-up {
    opacity: 0;
    transform: translateY(15px);
    animation: fadeInUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* -------------------------------------------------------------
   Tablet Viewports & Up (min-width: 768px)
   ------------------------------------------------------------- */
@media (min-width: 768px) {
    .section-padding {
        padding: 100px 0;
    }

    .grid-2-col {
        grid-template-columns: 1fr 1fr;
        gap: 50px;
    }

    .hero-title {
        font-size: 3.8rem;
        text-shadow: 0 4px 24px rgba(42, 22, 10, 0.4);
    }

    .hero-subtitle {
        font-size: 1.1rem;
        text-shadow: 0 2px 12px rgba(42, 22, 10, 0.4);
    }

    .hero-actions {
        flex-direction: row;
        justify-content: center;
    }

    .hero-actions .btn {
        width: auto;
    }

    .section-title {
        font-size: 2.5rem;
        color: #26140A; /* Deeper dark brown contrast to prevent blending */
    }

    .menu-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .map-card-footer {
        flex-direction: row;
        justify-content: space-between;
    }

    .map-address {
        text-align: left;
        max-width: 70%;
    }

    .footer-links {
        flex-direction: row;
        justify-content: center;
        gap: 30px;
    }
}

/* -------------------------------------------------------------
   Desktop Viewports (min-width: 1024px)
   ------------------------------------------------------------- */
@media (min-width: 1024px) {
    .container {
        width: 85%;
        max-width: var(--container-width);
    }

    .section-padding {
        padding: 120px 0;
    }

    .grid-2-col {
        gap: 80px;
    }

    .nav-links {
        display: flex;
        align-items: center;
        gap: 40px;
    }

    .nav-link {
        font-size: 0.85rem;
        opacity: 0.85;
        position: relative;
        padding: 6px 0;
        color: var(--color-cream);
    }

    .nav-link::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 0;
        height: 1px;
        background-color: var(--color-cream);
        transition: var(--transition-quick);
    }

    .nav-link:hover::after {
        width: 100%;
    }

    .mobile-nav-toggle {
        display: none;
    }

    h1, h2, h3, h4 {
        color: #1A0902; /* Extremely rich, high-contrast dark brown to prevent blending on PCs */
    }

    .hero-title {
        font-size: 4.8rem;
        color: var(--color-cream);
        text-shadow: 0 4px 30px rgba(42, 22, 10, 0.5);
    }

    .menu-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 40px;
    }

    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        grid-auto-rows: 280px;
        gap: 20px;
    }

    /* Masonry grid items sizing (desktop only for beautiful layout flow) */
    .size-tall {
        grid-row: span 2;
    }

    .size-wide {
        grid-column: span 2;
    }

    .lightbox-img {
        max-width: 90%;
        max-height: 85%;
    }

    .lightbox-close {
        top: 30px;
        right: 40px;
        font-size: 3.5rem;
    }

    .testimonial-slide {
        padding: 0 40px;
    }

    .testimonial-quote {
        font-size: 1.85rem;
    }
}
