/* ============================================
   HUALALAI BREWS & BITES — Stylesheet
   Bold editorial · Deep navy + warm gold
   ============================================ */

/* ---------- RESET & BASE ---------- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --navy-950: #0A1628;
    --navy-900: #0F2140;
    --navy-800: #152C55;
    --navy-700: #1B3668;
    --navy-600: #234478;
    --gold-500: #C8A45A;
    --gold-400: #D4B76A;
    --gold-300: #E0CA7A;
    --gold-200: #EDDF9E;
    --gold-100: #F7F0CC;
    --cream: #FAF8F4;
    --cream-dark: #F2EDE5;
    --warm-white: #FEFCF8;
    --text-dark: #0A1628;
    --text-muted: #5A6B7E;
    --text-light: #8A9BB0;
    --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    color: var(--text-dark);
    background-color: var(--warm-white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ---------- TYPOGRAPHY ---------- */
h1, h2, h3, h4 {
    font-family: var(--font-serif);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.section-eyebrow {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold-500);
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: var(--navy-950);
    margin-bottom: 24px;
}

/* ---------- BUTTONS ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    padding: 14px 32px;
    border-radius: 50px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: var(--gold-500);
    color: var(--navy-950);
    border-color: var(--gold-500);
}

.btn-primary:hover {
    background: var(--gold-400);
    border-color: var(--gold-400);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(200, 164, 90, 0.35);
}

.btn-outline {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
}

/* ---------- HEADER / NAV ---------- */
#main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 22, 40, 0.0);
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
    transition: all var(--transition);
    border-bottom: 1px solid transparent;
}

#main-header.scrolled {
    background: rgba(10, 22, 40, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom-color: rgba(200, 164, 90, 0.15);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-mark {
    font-family: var(--font-serif);
    font-weight: 900;
    font-size: 1.125rem;
    color: var(--gold-500);
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--gold-500);
    border-radius: var(--radius-sm);
    letter-spacing: 0.05em;
    flex-shrink: 0;
}

.logo-text {
    font-family: var(--font-serif);
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
    letter-spacing: 0.02em;
}

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

.nav-links a {
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 0.03em;
    transition: color var(--transition);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold-500);
    transition: width var(--transition);
}

.nav-links a:hover {
    color: var(--gold-500);
}

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

.btn-nav {
    background: var(--gold-500) !important;
    color: var(--navy-950) !important;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600 !important;
}

.btn-nav::after {
    display: none !important;
}

.btn-nav:hover {
    background: var(--gold-400) !important;
    transform: translateY(-1px);
}

/* Hamburger */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 44px;
    height: 44px;
    position: relative;
    z-index: 1001;
}

.hamburger {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 24px;
    height: 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hamburger::before,
.hamburger::after {
    content: '';
    display: block;
    width: 100%;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: all var(--transition);
}

.hamburger.active::before {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active::after {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ---------- HERO ---------- */
#hero {
    position: relative;
    height: 100vh;
    min-height: 640px;
    max-height: 1200px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--navy-950);
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
}

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

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(10, 22, 40, 0.88) 0%,
        rgba(15, 33, 64, 0.75) 50%,
        rgba(10, 22, 40, 0.85) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 720px;
    padding-top: 80px;
}

.hero-eyebrow {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold-500);
    margin-bottom: 24px;
}

.hero-headline {
    font-size: clamp(2.75rem, 7vw, 5rem);
    font-weight: 900;
    color: #fff;
    line-height: 1.05;
    margin-bottom: 24px;
}

.hero-headline em {
    font-style: italic;
    color: var(--gold-400);
}

.hero-sub {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.7;
    margin-bottom: 40px;
    max-width: 540px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    text-decoration: none;
}

.scroll-line {
    width: 1px;
    height: 48px;
    background: linear-gradient(to bottom, var(--gold-500), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 1; transform: scaleY(1); }
    50% { opacity: 0.5; transform: scaleY(0.7); }
}

/* ---------- ABOUT ---------- */
#about {
    padding: 120px 0;
    background: var(--warm-white);
}

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

.about-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4/5;
}

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

.about-text .lead {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    font-weight: 400;
    font-style: italic;
    color: var(--navy-800);
    line-height: 1.6;
    margin-bottom: 20px;
}

.about-text p {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 16px;
}

.about-stats {
    display: flex;
    gap: 40px;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid rgba(10, 22, 40, 0.1);
}

.stat-number {
    display: block;
    font-family: var(--font-serif);
    font-size: 2.25rem;
    font-weight: 900;
    color: var(--navy-950);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-muted);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* ---------- MENU ---------- */
.menu-section {
    padding: 120px 0;
    background: var(--navy-950);
    position: relative;
    overflow: hidden;
}

.menu-bg-pattern {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 20% 80%, rgba(200, 164, 90, 0.06) 0%, transparent 50%),
                      radial-gradient(circle at 80% 20%, rgba(200, 164, 90, 0.04) 0%, transparent 50%);
    pointer-events: none;
}

.menu-section .container {
    position: relative;
    z-index: 1;
}

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

.menu-title {
    text-align: center;
    color: #fff;
    margin-bottom: 16px;
}

.menu-intro {
    text-align: center;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.6);
    max-width: 560px;
    margin: 0 auto 64px;
    line-height: 1.7;
}

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

.menu-column {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    transition: all var(--transition);
}

.menu-column:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(200, 164, 90, 0.3);
    transform: translateY(-4px);
}

.menu-column-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 32px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.menu-icon {
    width: 28px;
    height: 28px;
    color: var(--gold-500);
    flex-shrink: 0;
}

.menu-column-header h3 {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    font-weight: 700;
    color: #fff;
}

.menu-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.menu-list li {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.menu-item-name {
    font-family: var(--font-serif);
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff;
}

.menu-item-desc {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.5;
}

.menu-note {
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
    margin-top: 48px;
    font-style: italic;
}

/* ---------- GALLERY ---------- */
#gallery {
    padding: 120px 0 80px;
    background: var(--warm-white);
}

#gallery .container {
    text-align: center;
    margin-bottom: 48px;
}

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

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

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

.gallery-item {
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 3/2;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* ---------- TESTIMONIALS ---------- */
#testimonials {
    padding: 120px 0;
    background: var(--cream);
}

#testimonials .container {
    text-align: center;
    max-width: 1100px;
}

#testimonials .section-title {
    margin-bottom: 64px;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.testimonial-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    text-align: left;
    border: 1px solid rgba(10, 22, 40, 0.06);
    transition: all var(--transition);
    position: relative;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(10, 22, 40, 0.1);
}

.quote-mark {
    width: 40px;
    height: 40px;
    color: var(--gold-500);
    opacity: 0.4;
    margin-bottom: 20px;
}

.testimonial-text {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-style: italic;
    color: var(--navy-800);
    line-height: 1.7;
    margin-bottom: 24px;
}

.testimonial-author {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 0.03em;
}

/* ---------- VISIT ---------- */
#visit {
    padding: 120px 0;
    background: var(--warm-white);
}

.visit-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

.visit-info .section-title {
    margin-bottom: 40px;
}

.visit-details {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.visit-detail {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.visit-icon {
    width: 28px;
    height: 28px;
    color: var(--gold-500);
    flex-shrink: 0;
    margin-top: 2px;
}

.visit-detail h4 {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.visit-detail p {
    font-size: 1rem;
    color: var(--navy-800);
    line-height: 1.7;
}

.visit-detail a {
    color: var(--gold-500);
    font-weight: 600;
    transition: color var(--transition);
}

.visit-detail a:hover {
    color: var(--gold-400);
}

.visit-map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4/3;
    min-height: 360px;
    box-shadow: 0 20px 60px rgba(10, 22, 40, 0.12);
}

/* ---------- CTA / CONTACT ---------- */
.cta-section {
    padding: 120px 0;
    background: var(--navy-950);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(200, 164, 90, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.cta-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.cta-eyebrow {
    color: var(--gold-500);
}

.cta-title {
    color: #fff;
    margin-bottom: 20px;
}

.cta-desc {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
}

.cta-form {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 40px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-sm);
    color: #fff;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    transition: all var(--transition);
    outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--gold-500);
    background: rgba(255, 255, 255, 0.08);
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.5)' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.form-group select option {
    background: var(--navy-900);
    color: #fff;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-success {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 20px;
    background: rgba(200, 164, 90, 0.15);
    border: 1px solid rgba(200, 164, 90, 0.3);
    border-radius: var(--radius-sm);
    color: var(--gold-300);
    font-size: 0.9rem;
    margin-top: 16px;
}

.form-success svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* ---------- FOOTER ---------- */
#footer {
    background: var(--navy-950);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 80px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 64px;
    padding-bottom: 64px;
}

.footer-brand .logo-text {
    font-size: 1.1rem;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-top: 20px;
    max-width: 280px;
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold-500);
    margin-bottom: 20px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    transition: color var(--transition);
}

.footer-links a:hover {
    color: var(--gold-500);
}

.footer-contact p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.8;
}

.footer-contact a {
    color: var(--gold-500);
    font-weight: 500;
    transition: color var(--transition);
}

.footer-contact a:hover {
    color: var(--gold-400);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.35);
}

/* ---------- MOBILE NAV ---------- */
@media (max-width: 900px) {
    .nav-toggle {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 360px;
        height: 100vh;
        background: var(--navy-950);
        flex-direction: column;
        justify-content: center;
        gap: 28px;
        padding: 40px;
        transition: right var(--transition);
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.3);
    }

    .nav-links.open {
        right: 0;
    }

    .nav-links a {
        font-size: 1.1rem;
        color: rgba(255, 255, 255, 0.8);
    }

    .nav-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 999;
    }

    .nav-overlay.active {
        display: block;
    }
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 900px) {
    .about-grid,
    .visit-grid,
    .cta-inner {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .menu-columns {
        grid-template-columns: 1fr;
        gap: 24px;
    }

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

    .testimonials-grid {
        grid-template-columns: 1fr;
        max-width: 560px;
        margin: 0 auto;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    #about,
    #gallery,
    #testimonials,
    #visit {
        padding: 80px 0;
    }

    .menu-section,
    .cta-section {
        padding: 80px 0;
    }

    .about-stats {
        gap: 24px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .btn {
        justify-content: center;
    }
}

@media (max-width: 600px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .nav-inner {
        height: 64px;
    }

    .logo-text {
        font-size: 0.85rem;
    }

    .logo-mark {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }

    .cta-form {
        padding: 24px;
    }

    .menu-column {
        padding: 28px 24px;
    }
}

/* ---------- REDUCED MOTION ---------- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    html {
        scroll-behavior: auto;
    }
}
