/* ─────────────────────────────────────────────
   Southern Shaved Ice of Blackshear — Styles
   Palette: Burgundy (#7B2D3B) + Blush (#F5E6D3)
   Fonts: Playfair Display (headings), Lora (body)
───────────────────────────────────────────── */

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

:root {
    --burgundy:       #7B2D3B;
    --burgundy-dark:  #5C1F2B;
    --burgundy-light: #9E3A4A;
    --blush:          #F5E6D3;
    --blush-light:    #FBF5EE;
    --blush-dark:     #E8C4B8;
    --cream:          #FDF9F4;
    --charcoal:       #2A2224;
    --text-dark:      #2A2224;
    --text-mid:       #5C4A4E;
    --text-light:     #8A7078;
    --white:          #FFFFFF;
    --radius-sm:      8px;
    --radius-md:      16px;
    --radius-lg:      24px;
    --transition:     0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'Lora', Georgia, serif;
    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: var(--burgundy);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--burgundy-light);
}

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

.skip-link {
    position: absolute;
    top: -100%;
    left: 16px;
    background: var(--burgundy);
    color: var(--white);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    z-index: 9999;
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
}

.skip-link:focus {
    top: 16px;
}

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4 {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 600;
    line-height: 1.2;
    color: var(--text-dark);
}

em {
    font-style: italic;
    color: var(--burgundy);
}

/* ── SECTION TAG ── */
.section-tag {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--burgundy);
    background: var(--blush);
    padding: 6px 16px;
    border-radius: 100px;
    margin-bottom: 20px;
}

/* ── SECTION TITLE ── */
.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 24px;
    color: var(--text-dark);
}

.section-sub {
    font-size: 1.125rem;
    color: var(--text-mid);
    max-width: 560px;
    line-height: 1.8;
}

/* ── BUTTONS ── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 0.9375rem;
    font-weight: 500;
    padding: 14px 28px;
    border-radius: 100px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
    white-space: nowrap;
}

.btn:hover {
    text-decoration: none;
    transform: translateY(-2px);
}

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

.btn-burgundy:hover {
    background: var(--burgundy-dark);
    border-color: var(--burgundy-dark);
    color: var(--white);
    box-shadow: 0 8px 24px rgba(123, 45, 59, 0.3);
}

.btn-outline-light {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.6);
}

.btn-outline-light:hover {
    background: var(--white);
    color: var(--burgundy);
    border-color: var(--white);
}

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

.btn-light:hover {
    background: var(--blush);
    border-color: var(--blush);
    color: var(--burgundy);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.btn-sm {
    padding: 10px 20px;
    font-size: 0.875rem;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1rem;
}

/* ─────────────────────────────────────────────
   NAVBAR
───────────────────────────────────────────── */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(253, 249, 244, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(123, 45, 59, 0.08);
    transition: box-shadow var(--transition);
}

.navbar.scrolled {
    box-shadow: 0 4px 20px rgba(42, 34, 36, 0.08);
}

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

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Playfair Display', serif;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--burgundy);
    text-decoration: none;
}

.nav-brand-icon {
    color: var(--burgundy);
}

.nav-brand:hover {
    color: var(--burgundy);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    font-family: 'Inter', sans-serif;
    font-size: 0.9375rem;
}

.nav-links a {
    color: var(--text-mid);
    font-weight: 400;
    position: relative;
}

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

.nav-links a:not(.btn):hover {
    color: var(--burgundy);
}

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

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    position: relative;
    width: 40px;
    height: 40px;
}

.hamburger,
.hamburger::before,
.hamburger::after {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--burgundy);
    border-radius: 2px;
    transition: all var(--transition);
}

.hamburger {
    position: relative;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    left: 0;
}

.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 — split layout
───────────────────────────────────────────── */
.hero {
    padding-top: 72px;
    min-height: 100vh;
    min-height: 100dvh;
    background: var(--cream);
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    padding-top: 48px;
    padding-bottom: 48px;
}

.hero-content {
    padding-right: 16px;
}

.hero-tagline {
    font-family: 'Inter', sans-serif;
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--burgundy);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.hero-tagline::before {
    content: '';
    width: 40px;
    height: 2px;
    background: var(--burgundy);
    border-radius: 2px;
}

.hero-headline {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--charcoal);
}

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

.hero-sub {
    font-size: 1.125rem;
    color: var(--text-mid);
    line-height: 1.8;
    margin-bottom: 36px;
    max-width: 480px;
}

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

.hero-stats {
    display: flex;
    align-items: center;
    gap: 24px;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: 'Playfair Display', serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--burgundy);
    line-height: 1;
}

.stat-label {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-top: 4px;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--blush-dark);
}

.hero-image-wrap {
    position: relative;
}

.hero-image-frame {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 24px 64px rgba(123, 45, 59, 0.15);
    position: relative;
    z-index: 1;
}

.hero-image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-accent {
    position: absolute;
    top: -24px;
    right: -24px;
    width: 120px;
    height: 120px;
    background: var(--blush);
    border-radius: 50%;
    z-index: 0;
    opacity: 0.6;
}

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

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

.about-image-wrap {
    position: relative;
}

.about-image-wrap img {
    border-radius: var(--radius-lg);
    width: 100%;
    height: 100%;
    object-fit: cover;
    box-shadow: 0 16px 48px rgba(42, 34, 36, 0.1);
}

.about-image-accent {
    position: absolute;
    bottom: -20px;
    left: -20px;
    width: 100px;
    height: 100px;
    border: 3px solid var(--blush);
    border-radius: var(--radius-md);
    z-index: -1;
}

.about-content .section-title {
    margin-top: 8px;
}

.about-content p {
    color: var(--text-mid);
    margin-bottom: 20px;
    font-size: 1.0625rem;
}

.about-features {
    display: flex;
    gap: 32px;
    margin-top: 36px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-dark);
}

.feature-item svg {
    color: var(--burgundy);
    flex-shrink: 0;
}

/* ─────────────────────────────────────────────
   FLAVORS
───────────────────────────────────────────── */
.flavors {
    padding: 120px 0;
    background: var(--cream);
}

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

.flavors-header .section-sub {
    margin: 0 auto;
}

.flavors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.flavor-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 28px 24px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    transition: all var(--transition);
    border: 1px solid rgba(123, 45, 59, 0.06);
}

.flavor-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(123, 45, 59, 0.1);
    border-color: rgba(123, 45, 59, 0.12);
}

.flavor-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 4px;
}

.flavor-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text-dark);
}

.flavor-card p {
    font-size: 0.9375rem;
    color: var(--text-light);
    line-height: 1.6;
}

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

/* ─────────────────────────────────────────────
   EXPERIENCE
───────────────────────────────────────────── */
.experience {
    padding: 120px 0;
    background: var(--white);
}

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

.experience-content .section-title {
    margin-top: 8px;
}

.experience-content p {
    color: var(--text-mid);
    margin-bottom: 20px;
    font-size: 1.0625rem;
}

.experience-visual img {
    border-radius: var(--radius-lg);
    width: 100%;
    height: 100%;
    object-fit: cover;
    box-shadow: 0 16px 48px rgba(42, 34, 36, 0.1);
}

/* ─────────────────────────────────────────────
   VISIT
───────────────────────────────────────────── */
.visit {
    padding: 120px 0;
    background: var(--blush-light);
}

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

.visit-info {
    padding: 48px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: 0 8px 32px rgba(42, 34, 36, 0.06);
}

.visit-info .section-title {
    margin-top: 8px;
}

.visit-address {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 32px 0 20px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: var(--text-dark);
    font-style: normal;
    line-height: 1.6;
}

.visit-address svg {
    color: var(--burgundy);
    flex-shrink: 0;
    margin-top: 3px;
}

.visit-contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-family: 'Inter', sans-serif;
    font-size: 0.9375rem;
    color: var(--text-mid);
}

.visit-contact-item svg {
    color: var(--burgundy);
    flex-shrink: 0;
}

.visit-contact-item a {
    color: var(--text-mid);
}

.visit-contact-item a:hover {
    color: var(--burgundy);
}

.visit-hours {
    margin: 32px 0;
    padding: 24px;
    background: var(--blush-light);
    border-radius: var(--radius-md);
}

.visit-hours h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.125rem;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.visit-hours ul {
    list-style: none;
}

.visit-hours li {
    display: flex;
    justify-content: space-between;
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    padding: 8px 0;
    border-bottom: 1px solid rgba(123, 45, 59, 0.08);
    color: var(--text-mid);
}

.visit-hours li:last-child {
    border-bottom: none;
}

.visit-map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    min-height: 480px;
    box-shadow: 0 8px 32px rgba(42, 34, 36, 0.08);
}

/* ─────────────────────────────────────────────
   CTA
───────────────────────────────────────────── */
.cta {
    padding: 120px 0;
    background: var(--burgundy);
    text-align: center;
}

.cta .section-tag {
    background: rgba(255, 255, 255, 0.15);
    color: var(--blush);
}

.cta .section-title {
    color: var(--white);
    margin-bottom: 20px;
}

.cta .section-title em {
    color: var(--blush);
}

.cta > .container > .cta-inner > p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 1.125rem;
    max-width: 560px;
    margin: 0 auto 40px;
    line-height: 1.8;
}

.cta-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
}

.cta-actions .btn-outline-light:hover {
    background: var(--blush);
    color: var(--burgundy);
    border-color: var(--blush);
}

/* ─────────────────────────────────────────────
   FOOTER
───────────────────────────────────────────── */
.footer {
    background: var(--charcoal);
    color: rgba(255, 255, 255, 0.65);
    padding: 80px 0 0;
}

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

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: 'Playfair Display', serif;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 16px;
}

.footer-logo svg {
    color: var(--blush-dark);
}

.footer-brand p {
    font-size: 0.9375rem;
    line-height: 1.7;
    max-width: 300px;
}

.footer-links h4,
.footer-contact h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    color: var(--white);
    margin-bottom: 20px;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.65);
    font-family: 'Inter', sans-serif;
    font-size: 0.9375rem;
    transition: color var(--transition);
}

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

.footer-contact address {
    font-style: normal;
    font-family: 'Inter', sans-serif;
    font-size: 0.9375rem;
    line-height: 1.8;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.65);
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 24px 0;
    text-align: center;
}

.footer-bottom p {
    font-family: 'Inter', sans-serif;
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.4);
}

/* ─────────────────────────────────────────────
   SCROLL REVEAL (progressive enhancement)
───────────────────────────────────────────── */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1),
                    transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    }

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

    .flavor-card {
        opacity: 0;
        transform: translateY(16px);
        transition: opacity 0.5s ease, transform 0.5s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    }

    .flavor-card.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ─────────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────────── */
@media (max-width: 1024px) {
    .hero-grid,
    .about-grid,
    .experience-inner,
    .visit-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-content {
        padding-right: 0;
        text-align: center;
    }

    .hero-tagline {
        justify-content: center;
    }

    .hero-sub {
        margin-left: auto;
        margin-right: auto;
    }

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

    .hero-stats {
        justify-content: center;
    }

    .hero-image-wrap {
        max-width: 500px;
        margin: 0 auto;
    }

    .about-image-wrap {
        max-width: 500px;
        margin: 0 auto;
    }

    .experience-visual {
        max-width: 500px;
        margin: 0 auto;
    }

    .visit-info {
        padding: 32px;
    }

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

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(253, 249, 244, 0.98);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        flex-direction: column;
        padding: 32px 24px;
        gap: 24px;
        border-bottom: 1px solid rgba(123, 45, 59, 0.08);
        transform: translateY(-120%);
        opacity: 0;
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                    opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        pointer-events: none;
    }

    .nav-links.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    .nav-toggle {
        display: block;
    }

    .hero {
        min-height: auto;
        padding-top: 100px;
        padding-bottom: 48px;
    }

    .hero-grid {
        padding-top: 24px;
    }

    .hero-image-frame {
        max-height: 400px;
    }

    .about,
    .flavors,
    .experience,
    .visit {
        padding: 80px 0;
    }

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

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

    .visit-map {
        min-height: 320px;
    }

    .about-features {
        flex-wrap: wrap;
        gap: 20px;
    }

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

    .cta {
        padding: 80px 0;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero-headline {
        font-size: 2rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

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

    .visit-info {
        padding: 24px;
    }

    .cta-actions {
        flex-direction: column;
        align-items: center;
    }

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