/* ═══════════════════════════════════════════════════════
   SUNRISE DONUTS — Brand Styles
   Deep Navy (#1A2744) + Warm Gold (#C8963E)
   Playfair Display + Inter
   ═══════════════════════════════════════════════════════ */

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

:root {
    --navy: #1A2744;
    --navy-light: #243352;
    --navy-dark: #111B30;
    --gold: #C8963E;
    --gold-light: #D4A84B;
    --gold-dark: #B07D2E;
    --cream: #FAF6F0;
    --cream-dark: #F0E8DA;
    --white: #FFFFFF;
    --text-dark: #1A2744;
    --text-light: #F5F0E8;
    --text-muted: #6B7F9A;
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', system-ui, sans-serif;
    --radius: 12px;
    --radius-lg: 20px;
    --shadow-sm: 0 2px 8px rgba(26, 39, 68, 0.08);
    --shadow-md: 0 8px 30px rgba(26, 39, 68, 0.12);
    --shadow-lg: 0 20px 60px rgba(26, 39, 68, 0.18);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

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

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;
}

/* ── Skip Link ── */
.skip-link {
    position: absolute;
    top: -100%;
    left: 16px;
    background: var(--navy);
    color: var(--white);
    padding: 8px 16px;
    border-radius: var(--radius);
    z-index: 9999;
    font-size: 14px;
    font-weight: 500;
}
.skip-link:focus {
    top: 16px;
}

/* ── Buttons ── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 600;
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-gold {
    background: var(--gold);
    color: var(--navy-dark);
    border-color: var(--gold);
}
.btn-gold:hover {
    background: var(--gold-light);
    border-color: var(--gold-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(200, 150, 62, 0.35);
}

.btn-outline-light {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.5);
}
.btn-outline-light:hover {
    background: var(--white);
    color: var(--navy);
    border-color: var(--white);
    transform: translateY(-2px);
}

.btn-large {
    padding: 16px 32px;
    font-size: 16px;
}

/* ── Section Tags ── */
.section-tag {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 700;
    line-height: 1.15;
    color: var(--navy);
    margin-bottom: 20px;
}

.text-gold {
    color: var(--gold);
}

.section-desc {
    font-size: 17px;
    line-height: 1.7;
    color: var(--text-muted);
    max-width: 540px;
}

/* ═══════════════════════════════════════════════════════
   NAVBAR
   ═══════════════════════════════════════════════════════ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(26, 39, 68, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(17, 27, 48, 0.97);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    color: var(--white);
}

.nav-logo-icon {
    color: var(--gold);
}

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

.nav-link {
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.75);
    border-radius: 8px;
    transition: var(--transition);
}
.nav-link:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.08);
}

.nav-cta-btn {
    margin-left: 8px;
    padding: 10px 22px;
    background: var(--gold);
    color: var(--navy-dark);
    font-size: 14px;
    font-weight: 600;
    border-radius: 50px;
    transition: var(--transition);
}
.nav-cta-btn:hover {
    background: var(--gold-light);
    transform: translateY(-1px);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: var(--white);
}

.hamburger {
    display: block;
    width: 22px;
    height: 2px;
    background: currentColor;
    position: relative;
    transition: var(--transition);
}
.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 22px;
    height: 2px;
    background: currentColor;
    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);
}

/* ═══════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--navy-dark);
    overflow: hidden;
    padding: 120px 0 80px;
}

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

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

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(17, 27, 48, 0.92) 0%,
        rgba(26, 39, 68, 0.85) 40%,
        rgba(26, 39, 68, 0.6) 100%
    );
}

.hero-inner {
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 680px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: rgba(200, 150, 62, 0.15);
    border: 1px solid rgba(200, 150, 62, 0.3);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    color: var(--gold);
    margin-bottom: 28px;
    letter-spacing: 0.02em;
}

.hero-headline {
    font-family: var(--font-display);
    font-size: clamp(2.8rem, 6vw, 5rem);
    font-weight: 700;
    line-height: 1.08;
    color: var(--white);
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.headline-accent {
    color: var(--gold);
    font-style: italic;
    font-weight: 500;
}

.hero-sub {
    font-size: clamp(16px, 2vw, 19px);
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.72);
    margin-bottom: 40px;
    max-width: 520px;
}

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

/* ── Floating Stat Cards ── */
.hero-stats {
    position: absolute;
    right: 40px;
    bottom: 120px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 24px 28px;
    min-width: 200px;
    animation: float 6s ease-in-out infinite;
}

.stat-card--1 { animation-delay: 0s; }
.stat-card--2 { animation-delay: -2s; }
.stat-card--3 { animation-delay: -4s; }

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

.stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--gold);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.5;
    letter-spacing: 0.01em;
}

/* Decorative pattern */
.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(to top, var(--cream), transparent);
    z-index: 1;
    pointer-events: none;
}

/* ═══════════════════════════════════════════════════════
   MENU SECTION
   ═══════════════════════════════════════════════════════ */
.menu-section {
    padding: 100px 0 110px;
    background: var(--cream);
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-header .section-desc {
    margin: 0 auto;
}

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

.menu-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.menu-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

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

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

.menu-card:hover .menu-card-img img {
    transform: scale(1.08);
}

.menu-card-body {
    padding: 24px 24px 28px;
}

.menu-card-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold-dark);
    background: rgba(200, 150, 62, 0.12);
    padding: 4px 12px;
    border-radius: 50px;
    margin-bottom: 12px;
}

.menu-card-title {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 8px;
    line-height: 1.25;
}

.menu-card-desc {
    font-size: 14px;
    line-height: 1.65;
    color: var(--text-muted);
}

.menu-note {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
    font-size: 14px;
    color: var(--text-muted);
    font-style: italic;
}

.menu-note svg {
    color: var(--gold);
    flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════════
   STORY SECTION
   ═══════════════════════════════════════════════════════ */
.story-section {
    padding: 110px 0;
    background: var(--navy);
    position: relative;
    overflow: hidden;
}

/* Subtle pattern overlay */
.story-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(200, 150, 62, 0.06) 1px, transparent 1px);
    background-size: 24px 24px;
    pointer-events: none;
}

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

.story-images {
    position: relative;
    min-height: 520px;
}

.story-img-main {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.story-img-main img {
    width: 100%;
    height: 520px;
    object-fit: cover;
}

.story-img-float {
    position: absolute;
    bottom: -40px;
    right: -30px;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--navy-light);
}

.story-img-float img {
    width: 260px;
    height: 200px;
    object-fit: cover;
}

.story-content {
    color: var(--white);
}

.story-content .section-title {
    color: var(--white);
}

.story-body {
    font-size: 16px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.68);
    margin-bottom: 20px;
}

.story-signature {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 32px;
    padding-top: 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-style: italic;
    color: var(--gold);
}

.story-signature svg {
    color: var(--gold);
    opacity: 0.6;
    flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════════
   FEATURES SECTION
   ═══════════════════════════════════════════════════════ */
.features-section {
    padding: 110px 0;
    background: var(--cream);
}

.features-header {
    text-align: center;
    margin-bottom: 64px;
}

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

.feature-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid transparent;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(200, 150, 62, 0.2);
}

.feature-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(200, 150, 62, 0.1);
    border-radius: 16px;
    color: var(--gold-dark);
}

.feature-title {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 10px;
    line-height: 1.3;
}

.feature-desc {
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-muted);
}

/* ═══════════════════════════════════════════════════════
   VISIT SECTION
   ═══════════════════════════════════════════════════════ */
.visit-section {
    padding: 110px 0;
    background: var(--white);
}

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

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

.visit-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 36px;
}

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

.visit-detail-icon {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(200, 150, 62, 0.1);
    border-radius: 12px;
    color: var(--gold-dark);
}

.visit-detail strong {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 2px;
}

.visit-detail span,
.visit-detail a {
    display: block;
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.5;
}

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

.visit-hours-note {
    font-size: 13px !important;
    color: var(--text-muted) !important;
    font-style: italic;
    margin-top: 2px;
}

.visit-map {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.visit-map-img {
    width: 100%;
    height: 420px;
    object-fit: cover;
}

.visit-map-overlay {
    position: absolute;
    bottom: 24px;
    left: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--navy);
    color: var(--white);
    padding: 14px 20px;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 500;
    box-shadow: var(--shadow-md);
}

.visit-map-overlay svg {
    color: var(--gold);
    flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════ */
.footer {
    background: var(--navy-dark);
    color: var(--white);
    padding: 72px 0 0;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 56px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand {}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 16px;
}

.footer-logo-icon {
    color: var(--gold);
}

.footer-tagline {
    font-size: 15px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.5);
    max-width: 280px;
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 20px;
}

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

.footer-links a {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.6);
    transition: var(--transition);
}

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

.footer-contact p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.7;
    margin-bottom: 4px;
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.35);
}

.footer-bottom p:last-child {
    text-align: right;
}

/* ═══════════════════════════════════════════════════════
   SCROLL REVEAL (progressive enhancement)
   ═══════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        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);
    }
    .reveal-delay-1 { transition-delay: 0.1s; }
    .reveal-delay-2 { transition-delay: 0.2s; }
    .reveal-delay-3 { transition-delay: 0.3s; }
    .reveal-delay-4 { transition-delay: 0.4s; }
}

/* Default visible state for no-JS */
.reveal {
    opacity: 1;
    transform: none;
}

/* ═══════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════ */

/* Tablet */
@media (max-width: 1024px) {
    .hero-stats {
        position: relative;
        right: auto;
        bottom: auto;
        flex-direction: row;
        flex-wrap: wrap;
        margin-top: 60px;
        justify-content: center;
    }

    .stat-card {
        flex: 1;
        min-width: 160px;
    }

    .hero::after {
        display: none;
    }

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

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

    .story-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .story-images {
        min-height: 400px;
        max-width: 500px;
    }

    .visit-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

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

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

    .nav-menu {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(17, 27, 48, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        padding: 24px;
        transform: translateY(-120%);
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }

    .nav-menu.open {
        transform: translateY(0);
    }

    .nav-links {
        flex-direction: column;
        gap: 4px;
        width: 100%;
    }

    .nav-link {
        display: block;
        padding: 14px 16px;
        font-size: 16px;
        border-radius: 10px;
    }

    .nav-cta-btn {
        margin-left: 0;
        text-align: center;
        margin-top: 8px;
        padding: 14px 22px;
        border-radius: var(--radius);
    }

    .hero {
        padding: 100px 0 60px;
        min-height: auto;
    }

    .hero-headline {
        font-size: clamp(2.2rem, 10vw, 3.2rem);
    }

    .hero-stats {
        flex-direction: column;
        align-items: stretch;
    }

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

    .menu-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin-left: auto;
        margin-right: auto;
    }

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

    .story-img-float {
        right: -10px;
        bottom: -20px;
    }

    .story-img-float img {
        width: 200px;
        height: 160px;
    }

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

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

    .footer-bottom p:last-child {
        text-align: center;
    }
}

/* Small phones */
@media (max-width: 380px) {
    .container {
        padding: 0 16px;
    }

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

    .btn {
        justify-content: center;
        width: 100%;
    }
}
