/* Global Reset & Variables */
:root {
    --bg-color: #F8F7F4;
    /* Very light beige/off-white */
    --text-color: #5D5D5D;
    /* Dark gray for softer contrast than black */
    --accent-color: #8da384;
    /* Sage green */
    --accent-light: #E0E5DF;
    --heading-font: 'Cormorant Garamond', serif;
    --body-font: 'Lato', sans-serif;

    --transition-slow: all 0.8s ease;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--body-font);
    font-weight: 300;
    line-height: 1.8;
    overflow-x: hidden;
    opacity: 0;
    animation: fadeInBody 1s forwards;
}

@keyframes fadeInBody {
    to {
        opacity: 1;
    }
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s;
}

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

h1,
h2,
h3,
.logo {
    font-family: var(--heading-font);
    font-weight: 400;
}

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

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

.mb-4 {
    margin-bottom: 2rem;
}

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

/* Opening Animation */
.opening-curtain {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: opacity 1s ease, visibility 1s ease;
}

.opening-curtain.hidden {
    opacity: 0;
    visibility: hidden;
}

.logo-mark svg {
    margin-bottom: 20px;
}

.circle-anim {
    stroke-dasharray: 283;
    /* 2 * PI * 45 */
    stroke-dashoffset: 283;
    animation: drawCircle 2s ease forwards;
}

.leaf-anim {
    stroke-dasharray: 150;
    stroke-dashoffset: 150;
    animation: drawLeaf 2s ease 0.5s forwards;
}

.opening-text {
    font-family: var(--heading-font);
    font-size: 1.2rem;
    letter-spacing: 2px;
    opacity: 0;
    animation: fadeInText 2s ease 1s forwards;
    color: var(--accent-color);
}

@keyframes drawCircle {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes drawLeaf {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes fadeInText {
    to {
        opacity: 1;
    }
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 1000;
    background-color: rgba(248, 247, 244, 0.95);
    transition: padding 0.3s, box-shadow 0.3s;
}

.navbar.scrolled {
    padding: 15px 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

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

.logo {
    font-size: 2rem;
    color: var(--accent-color);
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    gap: 40px;
    list-style: none;
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
}

.nav-links li a {
    font-size: 0.95rem;
    letter-spacing: 1px;
    position: relative;
}

.nav-links li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 1px;
    background-color: var(--accent-color);
    transition: all 0.3s;
    transform: translateX(-50%);
}

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

.btn-reserve {
    border: 1px solid var(--accent-color);
    padding: 10px 25px;
    border-radius: 30px;
    color: var(--accent-color);
}

.btn-reserve:hover {
    background-color: var(--accent-color);
    color: white;
}

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

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: brightness(0.95);
    /* Soften the image slightly */
    transform: scale(1.05);
    /* Avoid white edges on potential move */
    z-index: -1;
    animation: slowZoom 20s linear infinite alternate;
}

@keyframes slowZoom {
    from {
        transform: scale(1.05);
    }

    to {
        transform: scale(1.15);
    }
}

.hero-content {
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.hero-subtitle {
    font-size: 1.1rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.hero-title {
    font-size: 5rem;
    line-height: 1.1;
    margin-bottom: 30px;
}

.hero-desc {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 50px;
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition-slow);
}

.fade-in.active {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.2s;
}

.delay-2 {
    transition-delay: 0.4s;
}

.delay-3 {
    transition-delay: 0.6s;
}

.btn-scroll {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    color: white;
    cursor: pointer;
}

.btn-scroll .text {
    font-size: 0.9rem;
    letter-spacing: 2px;
    margin-top: 10px;
}

.btn-scroll .circle {
    width: 50px;
    height: 50px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    position: relative;
}

.btn-scroll .circle::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 6px;
    height: 6px;
    background-color: white;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }

    100% {
        transform: translate(-50%, -50%) scale(2.5);
        opacity: 0;
    }
}

/* Intro Section */
.intro-section {
    padding: 120px 0;
}

.section-title {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 30px;
}

.intro-text {
    max-width: 700px;
    margin: 0 auto 40px;
    font-size: 1.1rem;
}

.flower-icon {
    font-size: 2rem;
    color: var(--accent-color);
    opacity: 0.5;
}

/* About Section */
.about-section {
    padding: 100px 0;
    background-color: white;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-image {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    /* Soft rounding */
}

.about-image img {
    transition: transform 0.8s ease;
}

.about-image:hover img {
    transform: scale(1.05);
}

.about-text .label {
    display: block;
    color: var(--accent-color);
    letter-spacing: 3px;
    text-transform: uppercase;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.about-text h3 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: #444;
}

.about-text p {
    margin-bottom: 40px;
}

.link-arrow {
    border-bottom: 1px solid var(--accent-color);
    padding-bottom: 5px;
    color: var(--accent-color);
}

/* Menu Section */
.menu-section {
    padding: 120px 0;
}

.label {
    display: block;
    color: var(--accent-color);
    letter-spacing: 3px;
    text-transform: uppercase;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.menu-item {
    background: white;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.menu-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.menu-img {
    height: 250px;
    overflow: hidden;
}

.menu-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.menu-details {
    padding: 30px;
}

.menu-title-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 15px;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}

.menu-title-row h3 {
    font-size: 1.5rem;
}

.menu-title-row .price {
    font-family: var(--body-font);
    color: var(--accent-color);
}

.menu-desc {
    font-size: 0.95rem;
    color: #777;
}

.btn-primary {
    display: inline-block;
    background-color: var(--accent-color);
    color: white;
    padding: 15px 40px;
    border-radius: 5px;
    letter-spacing: 1px;
    transition: background-color 0.3s;
}

.btn-primary:hover {
    background-color: #7b9172;
}

/* Quote Section */
.quote-section {
    padding: 150px 0;
    position: relative;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quote-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #8da384;
    /* Fallback */
    background: linear-gradient(135deg, #a8bca1 0%, #8da384 100%);
    z-index: -1;
    opacity: 0.9;
}

blockquote {
    font-family: var(--heading-font);
    font-size: 2.5rem;
    font-style: italic;
    max-width: 800px;
    margin: 0 auto;
}

cite {
    display: block;
    margin-top: 30px;
    font-style: normal;
    letter-spacing: 2px;
}

/* Access */
.access-section {
    padding: 100px 0;
}

.access-info p {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

/* Reservation */
.reservation-section {
    padding: 100px 0;
    background-color: #E0E5DF;
    /* Light sage */
}

.btn-reserve-large {
    display: inline-block;
    border: 2px solid var(--text-color);
    padding: 20px 60px;
    margin-top: 40px;
    font-size: 1.1rem;
    letter-spacing: 2px;
    transition: all 0.3s;
}

.btn-reserve-large:hover {
    background-color: var(--text-color);
    color: white;
}

/* Footer */
.footer {
    padding: 60px 0 30px;
    background-color: #333;
    color: white;
    text-align: center;
}

.footer-logo {
    font-family: var(--heading-font);
    font-size: 2rem;
    margin-bottom: 30px;
}

.footer-links {
    margin-bottom: 40px;
}

.footer-links a {
    color: #ccc;
    margin: 0 15px;
    font-size: 0.9rem;
}

.copyright {
    color: #777;
    font-size: 0.8rem;
    border-top: 1px solid #444;
    padding-top: 20px;
}

/* Reveal Animations */
.reveal-text,
.reveal-card,
.reveal-image {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s ease;
}

.reveal-text.active,
.reveal-card.active,
.reveal-image.active {
    opacity: 1;
    transform: translateY(0);
}

/* Hamburger & Mobile Menu (Simplified) */
/* Hamburger Menu Icon - Robust */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 24px;
    cursor: pointer;
    z-index: 2000;
    margin-left: auto;
}

.hamburger span {
    width: 100%;
    height: 2px;
    background-color: #333;
    /* Dark for Serenity */
    transition: all 0.3s ease-in-out;
    transform-origin: center;
}

/* Active State (X Icon) */
.hamburger.active span {
    background-color: #333;
    /* Contrast against white overlay */
}

.hamburger.active span:nth-child(1) {
    transform: translateY(11px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-11px) rotate(-45deg);
}

.mobile-menu {
    display: none;
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
        /* Flex is required for column layout */
        z-index: 2000;
    }

    .mobile-menu {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: white;
        z-index: 1500;
        transform: translateX(100%);
        transition: transform 0.3s ease;
        padding-top: 80px;
        text-align: center;
    }

    .mobile-menu.open {
        transform: translateX(0);
    }

    .mobile-menu a {
        display: block;
        font-size: 1.5rem;
        margin: 20px 0;
    }
}