/* --- CSS Variables --- */
:root {
    --color-primary-dark: #1a1a1a; /* Dark charcoal/almost black */
    --color-secondary-dark: #2c2c2c; /* Slightly lighter charcoal for contrasts */
    --color-accent-gold: #d4af37; /* Muted gold/bronze for highlights */
    --color-accent-sienna: #a0522d; /* Warm sienna/terracotta for subtle depth */
    --color-text-light: #e0e0e0; /* Off-white for body text */
    --color-text-lighter: #f5f5f5; /* Near-white for primary text/headings */
    --color-overlay-dark: rgba(0, 0, 0, 0.6); /* Dark overlay for images */
    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'Montserrat', sans-serif;
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 3rem;
    --spacing-xl: 5rem;
    --header-height: 80px;
}

/* --- Base Styles --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--color-text-light);
    background-color: var(--color-primary-dark);
    -webkit-font-smoothing: antialiased; /* Better font rendering */
    overflow-x: hidden; /* Prevent horizontal scroll */
}

a {
    color: var(--color-accent-gold);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--color-text-lighter);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--color-text-lighter);
    margin-bottom: var(--spacing-sm);
    line-height: 1.2;
    font-weight: 600; /* Default heading weight */
}

h1 { font-size: 3.5rem; } /* Adjusted for mobile later */
h2 { font-size: 2.8rem; }
h3 { font-size: 2.2rem; }
h4 { font-size: 1.8rem; }

p {
    margin-bottom: var(--spacing-md);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.section-title {
    font-size: 3.2rem;
    text-align: center;
    margin-bottom: var(--spacing-sm);
    color: var(--color-accent-gold);
    letter-spacing: 1.5px;
    position: relative;
    padding-bottom: var(--spacing-xs);
    font-weight: 700;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--color-accent-sienna);
    margin: 10px auto 0;
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: var(--spacing-xl);
    color: var(--color-text-light);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 300;
}

/* --- Header --- */
.site-header {
    background-color: var(--color-primary-dark);
    padding: var(--spacing-sm) 0;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    transition: background-color 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.site-header.scrolled {
    background-color: rgba(26, 26, 26, 0.95); /* Slightly transparent on scroll */
    padding: var(--spacing-xs) 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: var(--header-height); /* Ensure consistent height */
}

.logo {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--color-accent-gold);
    letter-spacing: 1px;
    transition: color 0.3s ease;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.logo:hover {
    color: var(--color-text-lighter);
}

.main-nav ul {
    list-style: none;
    display: flex;
}

.main-nav li {
    margin-left: var(--spacing-lg);
}

.main-nav a {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--color-text-light);
    position: relative;
    transition: color 0.3s ease;
    padding: 5px 0;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-accent-gold);
    transition: width 0.3s ease;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--color-accent-gold);
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 100%;
}

.nav-toggle {
    display: none; /* Hidden on desktop */
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--spacing-xs);
    position: relative;
    z-index: 1100;
}

.hamburger {
    display: block;
    position: relative;
    width: 30px;
    height: 3px;
    background: var(--color-accent-gold);
    transition: all 0.3s ease;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 3px;
    background: var(--color-accent-gold);
    transition: all 0.3s ease;
}

.hamburger::before {
    transform: translateY(-8px);
}

.hamburger::after {
    transform: translateY(8px);
}

.nav-open .hamburger {
    background: transparent;
}

.nav-open .hamburger::before {
    transform: rotate(45deg);
}

.nav-open .hamburger::after {
    transform: rotate(-45deg);
}

/* --- Hero Section --- */
.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-lighter);
    text-align: center;
    background-image: url('images/image_12.jpg'); /* Hero background image */
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Parallax effect */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.8));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: var(--spacing-xl);
    max-width: 900px;
}

.hero-content .brand-name {
    font-family: var(--font-heading);
    font-size: 5.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-xs);
    color: var(--color-accent-gold);
    text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
    letter-spacing: 2px;
}

.hero-content .business-name {
    font-family: var(--font-body);
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: var(--spacing-md);
    color: var(--color-text-light);
    letter-spacing: 1px;
}

.hero-content .tagline {
    font-size: 1.8rem;
    font-family: var(--font-heading);
    font-weight: 400;
    max-width: 600px;
    margin: 0 auto var(--spacing-xl);
    line-height: 1.4;
    color: var(--color-text-lighter);
    text-shadow: 1px 1px 4px rgba(0,0,0,0.5);
}

.scroll-down-btn {
    display: inline-block;
    color: var(--color-accent-gold);
    font-size: 2.5rem;
    animation: bounce 2s infinite;
    transition: color 0.3s ease;
}

.scroll-down-btn:hover {
    color: var(--color-text-lighter);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* --- Section Styling --- */
section {
    padding: var(--spacing-xl) 0;
    position: relative;
}

section:nth-of-type(even) {
    background-color: var(--color-secondary-dark);
}

/* --- Scroll Reveal Animation --- */
.scroll-reveal {
    opacity: 1;
    transform: translateY(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.scroll-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- About Section --- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: var(--spacing-xl);
    align-items: center;
}

.about-image {
    position: relative;
    padding: var(--spacing-sm);
    background-color: var(--color-accent-gold); /* Frame color */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    transform: rotate(-3deg);
    transition: transform 0.4s ease-out;
}

.about-image:hover {
    transform: rotate(0deg) scale(1.02);
}

.about-image img {
    border: 2px solid var(--color-primary-dark);
    filter: brightness(0.9);
    transition: filter 0.3s ease;
}

.about-image:hover img {
    filter: brightness(1);
}

.about-content {
    padding-left: var(--spacing-md);
}

.about-content p strong {
    color: var(--color-accent-gold);
    font-weight: 500;
}

/* --- Menu Section --- */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
}

.menu-item {
    background-color: var(--color-primary-dark);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.menu-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
}

.item-image-wrapper {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.item-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease-in-out, filter 0.3s ease;
}

.menu-item:hover .item-image-wrapper img {
    transform: scale(1.1);
    filter: brightness(0.8);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0) 50%);
    opacity: 1;
    transition: opacity 0.3s ease;
}

.menu-item:hover .image-overlay {
    opacity: 1;
}

.menu-item h3 {
    font-size: 1.7rem;
    margin: var(--spacing-sm) var(--spacing-md) var(--spacing-xs);
    color: var(--color-accent-gold);
    text-align: center;
}

.menu-item p {
    font-size: 0.95rem;
    color: var(--color-text-light);
    padding: 0 var(--spacing-md) var(--spacing-md);
    text-align: center;
}

/* --- Gallery Section --- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.gallery-item::before { /* Gradient overlay for elegance */
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0) 50%);
    z-index: 1;
    transition: opacity 0.3s ease;
}

.gallery-item:hover::before {
    opacity: 1;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: brightness(0.85);
    transition: transform 0.5s ease, filter 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
    filter: brightness(1);
}

.gallery-item figcaption {
    position: absolute;
    bottom: var(--spacing-md);
    left: var(--spacing-md);
    color: var(--color-text-lighter);
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 500;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.7);
    z-index: 2;
    opacity: 1;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.gallery-item:hover figcaption {
    opacity: 1;
    transform: translateY(10px);
}


/* Adjust specific gallery items for visual appeal on larger screens */
@media (min-width: 769px) {
    .gallery-grid figure:nth-child(1) { grid-column: span 2; } /* Wide */
    .gallery-grid figure:nth-child(2) { grid-row: span 2; } /* Tall */
    .gallery-grid figure:nth-child(3) { grid-row: span 2; } /* Tall */
    .gallery-grid figure:nth-child(4) { grid-column: span 2; } /* Wide */
}


/* --- Visit Section --- */
.visit-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
    text-align: center;
}

.info-block {
    background-color: var(--color-secondary-dark);
    padding: var(--spacing-lg);
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-block:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}

.info-block h3 {
    color: var(--color-accent-gold);
    font-size: 1.8rem;
    margin-bottom: var(--spacing-sm);
}

.info-block p {
    font-size: 1rem;
    color: var(--color-text-light);
}

.info-block a {
    color: var(--color-accent-gold);
    text-decoration: underline;
}

.info-block a:hover {
    color: var(--color-text-lighter);
}

.map-placeholder {
    background-color: var(--color-secondary-dark);
    height: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--color-text-light);
    position: relative;
    overflow: hidden;
}

.map-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('images/image_13.jpg'); /* Placeholder map background */
    background-size: cover;
    background-position: center;
    opacity: 1;.3;
    filter: grayscale(100%);
    transition: opacity 0.5s ease;
}

.map-placeholder:hover::before {
    opacity: 1;.5;
    filter: grayscale(50%);
}

.map-placeholder p {
    position: relative;
    z-index: 1;
    margin: 0;
    font-size: 1.2rem;
    max-width: 600px;
}
.map-placeholder p:first-child {
    font-size: 2rem;
    color: var(--color-accent-gold);
    margin-bottom: var(--spacing-sm);
}

/* --- Footer --- */
.site-footer {
    background-color: var(--color-secondary-dark);
    color: var(--color-text-light);
    padding: var(--spacing-xl) 0 var(--spacing-md);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    text-align: center;
}

.footer-brand {
    flex: 1 1 100%; /* Take full width on small screens */
    margin-bottom: var(--spacing-md);
}

.footer-brand .logo-footer {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-accent-gold);
    letter-spacing: 1px;
    display: block;
    margin-bottom: var(--spacing-xs);
}

.footer-brand p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0;
}

.footer-nav {
    flex: 1 1 100%;
    margin-bottom: var(--spacing-md);
}

.footer-nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: var(--spacing-lg);
}

.footer-nav a {
    color: var(--color-text-light);
    font-size: 1rem;
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    color: var(--color-accent-gold);
}

.social-links {
    flex: 1 1 100%;
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
}

.social-links a {
    color: var(--color-text-light);
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-links a:hover {
    color: var(--color-accent-gold);
    border-color: var(--color-accent-gold);
    background-color: rgba(212, 175, 55, 0.1);
    transform: translateY(-3px) scale(1.1);
}

/* --- Mobile Responsiveness --- */
@media (max-width: 1024px) {
    .site-header .container {
        padding: 0 var(--spacing-md);
    }
    .main-nav li {
        margin-left: var(--spacing-md);
    }
    .hero-content .brand-name {
        font-size: 4.5rem;
    }
    .hero-content .tagline {
        font-size: 1.5rem;
    }
    .section-title {
        font-size: 2.8rem;
    }
    .about-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
    .about-image {
        transform: rotate(0deg); /* Remove rotation on smaller screens */
    }
    .about-content {
        padding-left: 0;
    }
    /* Reset specific gallery grid areas for smaller screens */
    .gallery-grid figure:nth-child(1),
    .gallery-grid figure:nth-child(4) { grid-column: auto; }
    .gallery-grid figure:nth-child(2),
    .gallery-grid figure:nth-child(3) { grid-row: auto; }
}

@media (max-width: 768px) {
    :root {
        --header-height: 60px;
    }
    .site-header .container {
        height: var(--header-height);
    }
    .logo {
        font-size: 1.8rem;
    }
    .nav-toggle {
        display: block; /* Show hamburger */
    }
    .main-nav {
        position: fixed;
        top: 0;
        right: 0;
        width: 100%;
        height: 100%;
        background-color: var(--color-primary-dark);
        display: flex;
        justify-content: center;
        align-items: center;
        transform: translateX(100%); /* Hide off-screen initially */
        transition: transform 0.5s ease-in-out;
        z-index: 999;
    }

    .nav-open .main-nav {
        transform: translateX(0); /* Slide in */
    }

    .main-nav ul {
        flex-direction: column;
        text-align: center;
        width: 100%;
    }

    .main-nav li {
        margin: var(--spacing-md) 0;
    }

    .main-nav a {
        font-size: 1.8rem;
        padding: var(--spacing-sm) 0;
        display: block;
    }

    .hero-content .brand-name {
        font-size: 3.5rem;
    }
    .hero-content .business-name {
        font-size: 1.2rem;
    }
    .hero-content .tagline {
        font-size: 1.2rem;
        margin-bottom: var(--spacing-lg);
    }
    h1 { font-size: 3rem; }
    h2 { font-size: 2.2rem; }
    h3 { font-size: 1.6rem; }

    .section-title {
        font-size: 2.2rem;
    }
    .section-subtitle {
        font-size: 1rem;
        margin-bottom: var(--spacing-lg);
    }

    section {
        padding: var(--spacing-lg) 0;
    }
    .footer-content {
        flex-direction: column;
        gap: var(--spacing-lg);
    }
    .footer-nav ul {
        flex-direction: column;
        gap: var(--spacing-sm);
    }
    .footer-brand, .footer-nav, .social-links {
        flex: none; /* Disable flex shrinking/growing */
    }
    .map-placeholder {
        height: 300px;
    }
    .map-placeholder p:first-child {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--spacing-sm);
    }
    .hero-content .brand-name {
        font-size: 2.8rem;
    }
    .hero-content .business-name {
        font-size: 1rem;
    }
    .hero-content .tagline {
        font-size: 1rem;
    }
    .section-title {
        font-size: 1.8rem;
    }
    .menu-item h3 {
        font-size: 1.4rem;
    }
    .gallery-item figcaption {
        font-size: 1rem;
    }
    .info-block {
        padding: var(--spacing-md);
    }
    .info-block h3 {
        font-size: 1.5rem;
    }
    .social-links a {
        font-size: 1.2rem;
        width: 35px;
        height: 35px;
    }
}


/* Animation states when visible - FIXED: Only opacity: 1 */
.animate-fade-in-up.visible,
.animate-fade-in-left.visible,
.animate-fade-in-right.visible,
.animate-bounce-y.visible,
.section-scroll-animate.visible,
.text-animate-up.visible,
.reveal-item.visible,
.scroll-reveal.visible,
.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

.animate-fade-in-up.visible.fade-in,
.section-scroll-animate.visible.fade-in {
    opacity: 1;
}

.animate-fade-in-up.visible.slide-up,
.section-scroll-animate.visible.slide-up {
    transform: translateY(0);
}
/* Safe visibility overrides (auto-added) */
:root, html, body, main, header, footer, section, .container, .content {
  opacity: 1 !important;
  visibility: visible !important;
}
