:root {
    /* Colors from elgreko.co.nz */
    --primary-color: #1C1810;
    /* Charcoal / Dark Brown */
    --secondary-color: #B08820;
    /* Solid Gold */
    --gold-gradient: linear-gradient(135deg, #B08820, #D4B44A);
    --bg-color: #FAF8F3;
    /* Warm Light Cream */
    --bg-gradient: linear-gradient(to bottom, #FAF8F3 0%, #F3EFE5 50%, #FAF8F3 100%);
    --text-dark: #1C1810;
    --text-muted: #5C5647;
    /* Muted grayish-brown */
    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'Cormorant Garamond', serif;
    /* Main body is also serif */
    --font-ui: 'Outfit', sans-serif;
    /* For buttons and modern UI elements */
    --radius: 24px;
    /* More rounded like the Coming Soon badge */
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    font-family: var(--font-body);
    font-size: 18px;
    color: var(--text-dark);
    background: var(--bg-gradient);
    line-height: 1.7;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
    width: 100%;
}

/* Subtle Gold Glow Overlay */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at top left, rgba(176, 136, 32, 0.08), transparent 40%),
        radial-gradient(circle at bottom right, rgba(176, 136, 32, 0.08), transparent 40%);
    pointer-events: none;
    z-index: -1;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 500;
    color: var(--primary-color);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    /* 6px feel */
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.8rem;
}

.gold-text {
    color: var(--secondary-color);
}

.italic-tagline {
    font-family: var(--font-heading);
    font-style: italic;
    font-weight: 400;
    color: var(--secondary-color);
    letter-spacing: 1px;
    text-transform: none;
}

.muted-description {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Typography */
.section-title {
    font-size: 2.8rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
    letter-spacing: 1px;
}

.text-center {
    text-align: center;
}

/* Layout */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: 6rem 0;
}

/* Ornaments */
.corner-ornament {
    position: fixed;
    width: 60px;
    height: 60px;
    pointer-events: none;
    z-index: 50;
    /* Lowered from 2000 so it sits behind header and content */
}

.corner-ornament--tl {
    top: 20px;
    left: 20px;
}

.corner-ornament--tr {
    top: 20px;
    right: 20px;
    transform: scaleX(-1);
}

.corner-ornament--bl {
    bottom: 20px;
    left: 20px;
    transform: scaleY(-1);
}

.corner-ornament--br {
    bottom: 20px;
    right: 20px;
    transform: scale(-1);
}

/* Background Constellation Animation */
#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    opacity: 0.4;
    /* High Visibility: from 0.25 to 0.4 */
}

.bg-ornament,
.leaf-ornament,
.gold-particle {
    display: none;
    /* Transitioning to canvas for performance and connectivity */
}

.olive-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin: 2rem 0;
}

.olive-line {
    height: 1px;
    width: 100px;
    background: linear-gradient(90deg, rgba(176, 136, 32, 0), rgba(176, 136, 32, 0.6), rgba(176, 136, 32, 0));
}

.olive-branch {
    width: 40px;
    height: 24px;
}

.bg-beige {
    background-color: rgba(243, 239, 229, 0.5);
}

.bg-blue {
    background-color: var(--primary-color);
    color: var(--bg-color);
}

.bg-blue h2,
.bg-blue h3 {
    color: var(--secondary-color);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 40px;
    font-family: var(--font-ui);
    font-weight: 500;
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    border: 1px solid transparent;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 0.8rem;
}

.btn-primary {
    background: var(--gold-gradient);
    color: #fff;
    box-shadow: 0 4px 15px rgba(176, 136, 32, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(176, 136, 32, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: var(--bg-color);
    border: 1px solid var(--bg-color);
}

.btn-secondary:hover {
    background-color: var(--bg-color);
    color: var(--primary-color);
}

.btn-outline {
    background-color: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
}

.btn-outline:hover {
    background-color: var(--secondary-color);
    color: #fff;
}

/* Header & Nav */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(250, 248, 243, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(176, 136, 32, 0.2);
    transition: var(--transition);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100px;
}

.logo img {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.nav-links {
    display: flex;
    gap: 3rem;
}

.nav-links a {
    font-family: var(--font-ui);
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 3px;
    color: var(--primary-color);
}

.nav-links a:hover {
    color: var(--secondary-color);
}

.hamburger {
    display: none;
    cursor: pointer;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--primary-color);
    padding: 0.5rem;
    transition: var(--transition);
    z-index: 1100;
}

.hamburger:hover {
    color: var(--secondary-color);
}

/* Hero Section */
/* Hero Section */
.hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 2rem 60px;
    margin-top: 0;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
    opacity: 0.1;
    /* Very subtle blend */
}

.hero-overlay-clean {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 0%, var(--bg-color) 100%);
    z-index: -1;
}

.hero-content {
    max-width: 900px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-brand {
    margin-bottom: 2rem;
}

.hero-logo-center {
    height: 100px;
    margin-bottom: 1.5rem;
    object-fit: contain;
}

.hero-title {
    font-size: 3rem;
    letter-spacing: 0.25em;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.hero-tagline {
    font-family: var(--font-heading);
    font-style: italic;
    color: var(--secondary-color);
    font-size: 1.3rem;
    letter-spacing: 1px;
}

.hero-badge {
    background: var(--gold-gradient);
    color: #fff;
    padding: 8px 24px;
    border-radius: 30px;
    font-family: var(--font-ui);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.7rem;
    letter-spacing: 2px;
    margin-bottom: 2rem;
    box-shadow: 0 4px 15px rgba(176, 136, 32, 0.2);
}

.hero-main-heading {
    font-size: 4.5rem !important;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    letter-spacing: 0.1em;
}

.hero-description {
    color: var(--text-muted);
    font-size: 1.15rem;
    max-width: 650px;
    margin-bottom: 3rem;
    line-height: 1.8;
}

.location-badge {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: rgba(176, 136, 32, 0.05);
    padding: 1.2rem 2.2rem;
    border-radius: 12px;
    border: 1px solid rgba(176, 136, 32, 0.1);
    text-align: left;
}

.location-icon svg {
    width: 28px;
    height: 28px;
    color: var(--secondary-color);
}

.location-text {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.4;
}

.location-text strong {
    color: var(--primary-color);
    font-size: 1.05rem;
}

.hero-btns {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* About Preview */
.about-preview {
    text-align: center;
}

.about-preview p {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto 2rem;
    color: #444;
}

/* Featured Dishes */
.dishes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.dish-card {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04);
    transition: var(--transition);
    border: 1px solid rgba(176, 136, 32, 0.1);
}

.dish-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    border-color: rgba(176, 136, 32, 0.3);
}

.dish-img {
    height: 220px;
    width: 100%;
    object-fit: cover;
}

.dish-info {
    padding: 1.5rem;
    text-align: center;
}

.dish-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.dish-info p {
    color: #666;
    font-size: 0.95rem;
}

/* Gallery Section */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    aspect-ratio: 1;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: var(--bg-color);
    padding: 2.5rem 2rem;
    border-radius: var(--radius);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04);
    text-align: center;
    border: 1px solid rgba(176, 136, 32, 0.1);
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    font-family: var(--font-heading);
    font-size: 1.3rem;
    line-height: 1.5;
}

.testimonial-card .author {
    font-weight: 500;
    color: var(--secondary-color);
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

/* CTA Section */
.cta-section {
    text-align: center;
    background-image: linear-gradient(rgba(28, 24, 16, 0.85), rgba(28, 24, 16, 0.85)), url('assets/hero_image.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--bg-color);
}

.cta-section h2 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.cta-btns {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: #fff;
    padding: 6rem 0 3rem;
    border-top: 1px solid var(--secondary-color);
    position: relative;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-col h4 {
    color: var(--secondary-color);
    margin-bottom: 2rem;
    font-family: var(--font-ui);
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 3px;
}

.footer-logo img {
    height: 90px;
    margin-bottom: 1rem;
    filter: brightness(0) invert(1);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    color: #ccc;
}

.footer-links a:hover {
    color: var(--secondary-color);
}

.social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    transition: var(--transition);
}

.social-icons a:hover {
    background: var(--secondary-color);
    color: #fff;
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.85rem;
    color: #888;
}

/* Pages Specific: Page Header */
.page-header {
    height: 40vh;
    min-height: 350px;
    background-image: linear-gradient(rgba(28, 24, 16, 0.8), rgba(28, 24, 16, 0.8)), url('assets/hero_image.png');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: 90px;
}

.page-header h1 {
    font-size: 4rem;
    color: var(--secondary-color);
    margin: 0;
    letter-spacing: 2px;
}

/* Menu Page */
.menu-section {
    padding-bottom: 2rem;
}

.menu-category {
    margin-bottom: 4rem;
}

.menu-category h3 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 2.5rem;
    color: var(--primary-color);
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.menu-item {
    display: flex;
    flex-direction: column;
    background: #fff;
    padding: 2rem;
    border-radius: var(--radius);
    border-left: 4px solid var(--secondary-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    transition: var(--transition);
}

.menu-item:hover {
    transform: translateX(5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
}

.menu-item-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 0.8rem;
}

.menu-item-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
}

.menu-item-desc {
    color: #666;
    font-size: 0.95rem;
}

.download-menu {
    text-align: center;
    margin-top: 3rem;
}

/* Contact Page */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info {
    background: #fff;
    padding: 3rem;
    border-radius: var(--radius);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    border-top: 4px solid var(--secondary-color);
}

.info-item {
    margin-bottom: 2rem;
}

.info-item h4 {
    font-family: var(--font-body);
    font-size: 1rem;
    text-transform: uppercase;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
}

.info-item p {
    color: #333;
    font-size: 1.1rem;
}

.contact-form {
    background: #fff;
    padding: 3rem;
    border-radius: var(--radius);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 500;
    color: var(--primary-color);
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 1rem;
    background-color: var(--bg-color);
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 2px rgba(176, 136, 32, 0.2);
}

.map-container {
    height: 400px;
    border-radius: var(--radius);
    overflow: hidden;
    margin-top: 4rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* About Page */
.about-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text p {
    font-size: 1.1rem;
    color: #444;
    margin-bottom: 1.5rem;
}

.about-image {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    position: relative;
}

.about-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 4px solid var(--secondary-color);
    border-radius: var(--radius);
    transform: scale(0.95);
    pointer-events: none;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.appear {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 900px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-wrapper,
    .about-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-container {
        height: 80px;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: var(--bg-color);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
        z-index: 1050;
        padding: 4rem 2rem;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        font-size: 1.2rem;
        margin-bottom: 2rem;
        letter-spacing: 4px;
    }

    .hamburger {
        display: block;
    }

    /* Hero Section Mobile */
    .hero {
        padding: 100px 1.5rem 60px;
    }

    .hero-main-heading {
        font-size: 2.8rem !important;
        letter-spacing: 0.05em;
        margin-bottom: 1rem;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-tagline {
        font-size: 1.1rem;
    }

    .hero-description {
        font-size: 1rem;
        margin-bottom: 2.5rem;
    }

    .location-badge {
        padding: 1.2rem;
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
        width: 100%;
        max-width: 280px;
    }

    .location-text {
        font-size: 0.85rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .hero-btns {
        flex-direction: column;
        width: 100%;
        gap: 1.2rem;
        margin-top: 2rem !important;
    }

    .hero-btns .btn {
        width: 100%;
        padding: 16px 20px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-logo img {
        margin: 0 auto 1.5rem;
    }

    .social-icons {
        justify-content: center;
    }

    .corner-ornament {
        width: 35px;
        height: 35px;
        opacity: 0.4;
    }

    .corner-ornament--tl,
    .corner-ornament--tr {
        top: 10px;
    }

    .corner-ornament--tl {
        left: 10px;
    }

    .corner-ornament--tr {
        right: 10px;
    }

    /* Fix header height and layering */
    header {
        height: 70px;
        display: flex;
        align-items: center;
    }

    .nav-container {
        height: 70px;
        padding: 0 1.2rem;
    }

    .logo img {
        height: 40px;
    }
}