/* ============================================
   THE WAFFLE CONE HAYMARKET ICE CREAM
   Clean Minimalist · Deep Navy + Warm Gold
   ============================================ */

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

:root {
    --navy: #0a1628;
    --navy-light: #132240;
    --navy-mid: #1a2d4a;
    --gold: #c8a45e;
    --gold-light: #dbb96e;
    --gold-pale: #f5e6c4;
    --cream: #faf8f4;
    --cream-dark: #f0ebe0;
    --white: #ffffff;
    --text-dark: #0a1628;
    --text-mid: #3a4f6a;
    --text-light: #6b7f96;
    --text-on-dark: #f0ebe0;
    --text-on-dark-muted: #8fa4bc;
    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Manrope', -apple-system, sans-serif;
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: var(--font-body);
    font-weight: 300;
    color: var(--text-dark);
    background: var(--cream);
    line-height: 1.7;
    -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 2rem;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */

h1, h2, h3 {
    font-family: var(--font-display);
    font-weight: 300;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.section-label {
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3.25rem);
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-mid);
    max-width: 520px;
    line-height: 1.8;
}

.lead {
    font-size: 1.1rem;
    color: var(--text-mid);
    line-height: 1.9;
    max-width: 520px;
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 1rem 2.25rem;
    border: 1px solid transparent;
    border-radius: 0;
    cursor: pointer;
    transition: all 0.4s var(--ease-out);
    white-space: nowrap;
}

.btn--gold {
    background: var(--gold);
    color: var(--navy);
    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, 164, 94, 0.3);
}

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

.btn--outline:hover {
    background: var(--navy);
    color: var(--white);
}

.btn--white {
    background: var(--white);
    color: var(--navy);
    border-color: var(--white);
}

.btn--white:hover {
    background: var(--cream);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.btn--full {
    width: 100%;
}

/* ============================================
   HEADER
   ============================================ */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(250, 248, 244, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(10, 22, 40, 0.06);
    transition: all 0.4s var(--ease-smooth);
}

.site-header.scrolled {
    box-shadow: 0 1px 0 rgba(10, 22, 40, 0.06);
}

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

.logo {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 400;
    letter-spacing: 0.02em;
    color: var(--navy);
}

.logo--light {
    color: var(--white);
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.main-nav a:not(.btn) {
    font-size: 0.78rem;
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-mid);
    transition: color 0.3s;
    position: relative;
}

.main-nav a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: width 0.3s var(--ease-out);
}

.main-nav a:not(.btn):hover {
    color: var(--navy);
}

.main-nav a:not(.btn):hover::after {
    width: 100%;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--navy);
    padding: 0.5rem;
}

/* ============================================
   MOBILE MENU
   ============================================ */

.mobile-menu {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: var(--cream);
    border-bottom: 1px solid rgba(10, 22, 40, 0.06);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    transform: translateY(-120%);
    transition: transform 0.4s var(--ease-out);
    z-index: 999;
}

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

.mobile-menu a {
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-mid);
    border-bottom: 1px solid rgba(10, 22, 40, 0.06);
    padding-bottom: 1rem;
    transition: color 0.3s;
}

.mobile-menu a:last-child {
    border-bottom: none;
}

.mobile-menu a:hover {
    color: var(--navy);
}

/* ============================================
   HERO
   ============================================ */

.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

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

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

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(10, 22, 40, 0.55) 0%,
        rgba(10, 22, 40, 0.70) 50%,
        rgba(10, 22, 40, 0.85) 100%
    );
}

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

.hero-eyebrow {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: clamp(2.75rem, 6vw, 5rem);
    color: var(--white);
    font-weight: 300;
    line-height: 1.05;
    margin-bottom: 1.75rem;
}

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

.hero-subtitle {
    font-size: 1.05rem;
    color: rgba(240, 235, 224, 0.8);
    line-height: 1.9;
    max-width: 480px;
    margin-bottom: 2.5rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.scroll-indicator {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    color: rgba(240, 235, 224, 0.5);
    animation: float 2.5s ease-in-out infinite;
}

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

/* ============================================
   SECTIONS
   ============================================ */

.section {
    padding: 8rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

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

/* ============================================
   ABOUT
   ============================================ */

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

.about-text .section-title {
    margin-bottom: 2rem;
}

.about-text p {
    color: var(--text-mid);
    margin-bottom: 1.5rem;
    line-height: 1.9;
}

.about-stats {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(10, 22, 40, 0.08);
}

.stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: 2.25rem;
    font-weight: 400;
    color: var(--navy);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-light);
}

.stat-divider {
    width: 1px;
    height: 48px;
    background: rgba(10, 22, 40, 0.1);
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 3/4;
}

.about-image::before {
    content: '';
    position: absolute;
    top: -1.5rem;
    right: -1.5rem;
    width: 100%;
    height: 100%;
    border: 1px solid var(--gold);
    z-index: -1;
}

/* ============================================
   FLAVORS
   ============================================ */

.flavors {
    background: var(--white);
}

.flavor-categories {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.flavor-category {
    padding: 2.5rem;
    border: 1px solid rgba(10, 22, 40, 0.06);
    transition: all 0.4s var(--ease-out);
}

.flavor-category:hover {
    border-color: var(--gold);
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(10, 22, 40, 0.06);
}

.category-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--navy);
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(10, 22, 40, 0.06);
}

.flavor-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.flavor-list li {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
}

.flavor-name {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--navy);
}

.flavor-desc {
    font-size: 0.8rem;
    color: var(--text-light);
    font-weight: 300;
    white-space: nowrap;
}

.flavors-note {
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-light);
    margin-top: 3rem;
    font-style: italic;
}

/* ============================================
   DIVIDER / QUOTE
   ============================================ */

.divider-section {
    padding: 6rem 0;
    background: var(--navy);
}

.divider-quote {
    text-align: center;
    max-width: 700px;
}

.divider-quote blockquote {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 300;
    font-style: italic;
    color: var(--text-on-dark);
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

.divider-quote cite {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-style: normal;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold);
}

/* ============================================
   VISIT
   ============================================ */

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

.visit-info .section-title {
    margin-bottom: 3rem;
}

.visit-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.visit-detail {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
}

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

.visit-detail strong {
    display: block;
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--navy);
    margin-bottom: 0.4rem;
}

.visit-detail p {
    font-size: 0.95rem;
    color: var(--text-mid);
    line-height: 1.7;
}

.visit-detail a {
    color: var(--text-mid);
    transition: color 0.3s;
}

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

.visit-map {
    position: relative;
}

.visit-map a {
    position: relative;
    display: block;
    overflow: hidden;
}

.visit-map img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 3/2;
    transition: transform 0.6s var(--ease-out);
}

.map-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 22, 40, 0.6);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    color: var(--white);
    transition: background 0.3s;
}

.map-overlay span {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.visit-map a:hover img {
    transform: scale(1.05);
}

.visit-map a:hover .map-overlay {
    background: rgba(10, 22, 40, 0.4);
}

/* ============================================
   CONTACT
   ============================================ */

.contact {
    background: var(--navy);
}

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

.contact .section-label {
    color: var(--gold);
}

.contact .lead {
    color: var(--text-on-dark-muted);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: start;
}

.contact-form-wrapper {
    background: var(--navy-light);
    padding: 3rem;
    border: 1px solid rgba(200, 164, 94, 0.15);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-on-dark-muted);
}

.form-group input,
.form-group textarea {
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(240, 235, 224, 0.15);
    padding: 0.75rem 0;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 300;
    color: var(--text-on-dark);
    resize: none;
    transition: border-color 0.3s;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-on-dark-muted);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-bottom-color: var(--gold);
}

.form-success {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 3rem 1rem;
    gap: 1rem;
}

.form-success svg {
    color: var(--gold);
}

.form-success h3 {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 400;
    color: var(--white);
}

.form-success p {
    font-size: 0.9rem;
    color: var(--text-on-dark-muted);
    line-height: 1.7;
}

/* ============================================
   FOOTER
   ============================================ */

.site-footer {
    background: var(--navy);
    border-top: 1px solid rgba(240, 235, 224, 0.06);
    padding: 5rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand .logo {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    display: inline-block;
}

.footer-tagline {
    font-size: 0.9rem;
    color: var(--text-on-dark-muted);
    line-height: 1.8;
    max-width: 280px;
}

.footer-links,
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links strong,
.footer-contact strong {
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.5rem;
    display: block;
}

.footer-links a {
    font-size: 0.88rem;
    color: var(--text-on-dark-muted);
    transition: color 0.3s;
}

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

.footer-contact p {
    font-size: 0.88rem;
    color: var(--text-on-dark-muted);
    line-height: 1.8;
}

.footer-contact a {
    color: var(--text-on-dark-muted);
    transition: color 0.3s;
}

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

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(240, 235, 224, 0.06);
}

.footer-bottom p {
    font-size: 0.78rem;
    color: var(--text-on-dark-muted);
}

/* ============================================
   SCROLL REVEAL
   ============================================ */

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

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

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1024px) {
    .about-grid,
    .visit-grid,
    .contact-grid {
        gap: 3rem;
    }

    .flavor-categories {
        gap: 1.5rem;
    }
}

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

    .mobile-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .header-inner {
        height: 70px;
    }

    .mobile-menu {
        top: 70px;
    }

    .section {
        padding: 5rem 0;
    }

    .container {
        padding: 0 1.5rem;
    }

    .hero-content {
        padding-top: 70px;
    }

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

    .hero-actions .btn {
        text-align: center;
    }

    .about-grid,
    .visit-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-image {
        order: -1;
    }

    .about-image::before {
        display: none;
    }

    .flavor-categories {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .about-stats {
        flex-wrap: wrap;
        gap: 1.5rem;
    }

    .stat-divider {
        display: none;
    }

    .contact-form-wrapper {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 15px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 1.75rem;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    html {
        scroll-behavior: auto;
    }
    .reveal {
        opacity: 1;
        transform: none;
    }
}
