/* ============================================
   Dawn's Beach Hut — Styles
   Palette: Forest Green + Off-White
   ============================================ */

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

:root {
    --green-deep: #1a3c34;
    --green-mid: #2d5a4a;
    --green-light: #3d7a62;
    --green-pale: #e8f0ec;
    --off-white: #f5f2eb;
    --cream: #faf8f4;
    --warm-gray: #8a8278;
    --dark: #1a1917;
    --white: #ffffff;
    
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;
    
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2.5rem;
    --space-xl: 4rem;
    --space-2xl: 6rem;
    --space-3xl: 8rem;
    
    --radius: 8px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: var(--font-body);
    font-weight: 300;
    line-height: 1.7;
    color: var(--dark);
    background-color: var(--cream);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

/* SKIP LINK */
.skip-link {
    position: absolute;
    top: -100%;
    left: var(--space-sm);
    padding: var(--space-xs) var(--space-sm);
    background: var(--green-deep);
    color: var(--off-white);
    z-index: 1000;
    border-radius: var(--radius);
    font-size: 0.875rem;
    transition: top var(--transition);
}

.skip-link:focus {
    top: var(--space-sm);
}

/* ============================================
   HEADER
   ============================================ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: var(--space-md) 0;
    transition: background var(--transition), padding var(--transition), box-shadow var(--transition);
}

.site-header.scrolled {
    background: rgba(250, 248, 244, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: var(--space-sm) 0;
    box-shadow: 0 1px 0 rgba(26, 60, 52, 0.08);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--green-deep);
    letter-spacing: -0.01em;
}

.logo-icon {
    color: var(--green-mid);
}

/* NAV */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-xs);
    color: var(--green-deep);
}

.hamburger {
    display: block;
    width: 22px;
    height: 1.5px;
    background: var(--green-deep);
    position: relative;
    transition: var(--transition);
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 22px;
    height: 1.5px;
    background: var(--green-deep);
    left: 0;
    transition: var(--transition);
}

.hamburger::before { top: -7px; }
.hamburger::after { top: 7px; }

.nav-toggle[aria-expanded="true"] .hamburger {
    background: transparent;
}

.nav-toggle[aria-expanded="true"] .hamburger::before {
    top: 0;
    transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .hamburger::after {
    top: 0;
    transform: rotate(-45deg);
}

.nav-list {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    list-style: none;
}

.nav-list a {
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--green-deep);
    letter-spacing: 0.02em;
    position: relative;
    padding: 0.25rem 0;
    transition: color var(--transition);
}

.nav-list a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--green-light);
    transition: width var(--transition);
}

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

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 1.75rem;
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 400;
    letter-spacing: 0.04em;
    border-radius: 100px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
}

.btn--primary {
    background: var(--green-deep);
    color: var(--off-white);
    border-color: var(--green-deep);
}

.btn--primary:hover {
    background: var(--green-mid);
    border-color: var(--green-mid);
    transform: translateY(-1px);
}

.btn--outline {
    background: transparent;
    color: var(--green-deep);
    border-color: var(--green-deep);
}

.btn--outline:hover {
    background: var(--green-deep);
    color: var(--off-white);
}

.btn--ghost {
    background: transparent;
    color: var(--green-deep);
    border-color: rgba(26, 60, 52, 0.25);
}

.btn--ghost:hover {
    border-color: var(--green-deep);
}

/* ============================================
   SECTION UTILITIES
   ============================================ */
.section-eyebrow {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--green-light);
    margin-bottom: var(--space-sm);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 400;
    line-height: 1.2;
    color: var(--green-deep);
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--warm-gray);
    max-width: 520px;
    margin-top: var(--space-sm);
}

.section-header.centered {
    text-align: center;
}

.section-header.centered .section-subtitle {
    margin-left: auto;
    margin-right: auto;
}

/* ============================================
   HERO
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--green-deep);
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse 80% 60% at 50% 40%, rgba(45, 90, 74, 0.9) 0%, transparent 70%),
        radial-gradient(ellipse 60% 50% at 20% 80%, rgba(61, 122, 98, 0.5) 0%, transparent 60%),
        radial-gradient(ellipse 50% 40% at 80% 20%, rgba(212, 197, 169, 0.15) 0%, transparent 50%),
        linear-gradient(180deg, #1a3c34 0%, #2d5a4a 50%, #1a3c34 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: var(--space-3xl) var(--space-md);
    max-width: 800px;
}

.hero-eyebrow {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(212, 197, 169, 0.7);
    margin-bottom: var(--space-lg);
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.25rem, 6vw, 4.5rem);
    font-weight: 400;
    line-height: 1.1;
    color: var(--off-white);
    letter-spacing: -0.03em;
    margin-bottom: var(--space-lg);
}

.hero-title em {
    font-style: italic;
    color: rgba(212, 197, 169, 0.9);
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: rgba(245, 242, 235, 0.7);
    max-width: 520px;
    margin: 0 auto var(--space-xl);
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    flex-wrap: wrap;
}

.hero-actions .btn--ghost {
    color: var(--off-white);
    border-color: rgba(245, 242, 235, 0.3);
}

.hero-actions .btn--ghost:hover {
    border-color: var(--off-white);
    background: transparent;
    color: var(--off-white);
}

.hero-scroll {
    position: absolute;
    bottom: var(--space-xl);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: rgba(212, 197, 169, 0.5);
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    animation: float 2.5s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(6px); }
}

/* ============================================
   ABOUT
   ============================================ */
.about {
    padding: var(--space-3xl) 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: center;
}

.about-image img {
    border-radius: var(--radius);
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 4/5;
}

.about-text {
    padding: var(--space-md) 0;
}

.about-text .section-title {
    margin-bottom: var(--space-md);
}

.about-text p {
    color: var(--warm-gray);
    margin-bottom: var(--space-sm);
    font-size: 1.025rem;
}

.about-stats {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-top: var(--space-lg);
    padding-top: var(--space-lg);
    border-top: 1px solid rgba(26, 60, 52, 0.1);
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 1.75rem;
    color: var(--green-deep);
    line-height: 1;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--warm-gray);
    letter-spacing: 0.04em;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(26, 60, 52, 0.15);
}

/* ============================================
   MENU
   ============================================ */
.menu {
    padding: var(--space-3xl) 0;
    background: var(--green-deep);
    color: var(--off-white);
}

.menu .section-eyebrow {
    color: rgba(212, 197, 169, 0.7);
}

.menu .section-title {
    color: var(--off-white);
}

.menu .section-subtitle {
    color: rgba(245, 242, 235, 0.6);
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
    margin-top: var(--space-xl);
}

.menu-category {
    padding: var(--space-lg);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius);
    transition: background var(--transition);
}

.menu-category:hover {
    background: rgba(255, 255, 255, 0.07);
}

.category-label {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--font-display);
    font-size: 1.15rem;
    color: var(--off-white);
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-sm);
    border-bottom: 1px solid rgba(212, 197, 169, 0.2);
}

.category-label svg {
    color: rgba(212, 197, 169, 0.7);
}

.menu-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.menu-list li {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    padding-bottom: var(--space-sm);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.menu-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.menu-item-name {
    font-size: 0.95rem;
    font-weight: 400;
    color: var(--off-white);
}

.menu-item-desc {
    font-size: 0.825rem;
    color: rgba(245, 242, 235, 0.5);
}

.menu-note {
    text-align: center;
    font-size: 0.825rem;
    color: rgba(245, 242, 235, 0.4);
    margin-top: var(--space-xl);
    letter-spacing: 0.02em;
}

/* ============================================
   GALLERY
   ============================================ */
.gallery {
    padding: var(--space-3xl) 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: var(--space-sm);
    margin-top: var(--space-xl);
}

.gallery-item {
    border-radius: var(--radius);
    overflow: hidden;
}

.gallery-item--wide {
    grid-column: 1 / -1;
}

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

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

/* ============================================
   VISIT
   ============================================ */
.visit {
    padding: var(--space-3xl) 0;
    background: var(--green-pale);
}

.visit-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: start;
}

.visit-info .section-title {
    margin-bottom: var(--space-xl);
}

.visit-details {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.visit-detail {
    display: flex;
    gap: var(--space-sm);
    align-items: flex-start;
}

.visit-detail svg {
    color: var(--green-mid);
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.visit-detail strong {
    display: block;
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--green-deep);
    margin-bottom: 0.25rem;
}

.visit-detail p {
    font-size: 0.925rem;
    color: var(--warm-gray);
    line-height: 1.6;
}

.visit-detail a {
    color: var(--green-mid);
    transition: color var(--transition);
}

.visit-detail a:hover {
    color: var(--green-deep);
}

.visit-map {
    border-radius: var(--radius);
    overflow: hidden;
    min-height: 420px;
    box-shadow: 0 4px 24px rgba(26, 60, 52, 0.1);
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background: var(--green-deep);
    color: var(--off-white);
    padding: var(--space-2xl) 0 var(--space-lg);
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: var(--space-xl);
    padding-bottom: var(--space-xl);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand p {
    color: rgba(245, 242, 235, 0.5);
    font-size: 0.925rem;
    margin-top: var(--space-sm);
    max-width: 320px;
    line-height: 1.7;
}

.footer-brand .logo {
    color: var(--off-white);
}

.footer-brand .logo-icon {
    color: rgba(212, 197, 169, 0.7);
}

.footer-links {
    display: flex;
    gap: var(--space-xl);
}

.footer-col h4 {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(212, 197, 169, 0.6);
    margin-bottom: var(--space-sm);
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-col a {
    font-size: 0.9rem;
    color: rgba(245, 242, 235, 0.6);
    transition: color var(--transition);
}

.footer-col a:hover {
    color: var(--off-white);
}

.footer-col span {
    font-size: 0.9rem;
    color: rgba(245, 242, 235, 0.6);
    line-height: 1.7;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: var(--space-lg);
    font-size: 0.8rem;
    color: rgba(245, 242, 235, 0.35);
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

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

    .nav-list {
        position: fixed;
        top: 0;
        right: 0;
        width: min(320px, 85vw);
        height: 100vh;
        background: var(--cream);
        flex-direction: column;
        align-items: flex-start;
        padding: 5rem var(--space-lg) var(--space-xl);
        gap: var(--space-md);
        transform: translateX(100%);
        transition: transform var(--transition);
        box-shadow: -8px 0 32px rgba(0, 0, 0, 0.1);
    }

    .nav-list.open {
        transform: translateX(0);
    }

    .nav-list a {
        font-size: 1.1rem;
    }

    .nav-list .btn {
        margin-top: var(--space-sm);
    }

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

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

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

    .about-image {
        order: -1;
    }

    .about-image img {
        aspect-ratio: 16/10;
    }

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

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-item--wide {
        grid-column: 1;
    }

    .footer-top {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 480px) {
    :root {
        --space-xl: 3rem;
        --space-2xl: 4rem;
        --space-3xl: 5rem;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .about-stats {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-sm);
    }

    .stat-divider {
        width: 40px;
        height: 1px;
    }
}
