/* ============================================
   Big Dipper Ice Cream — Stylesheet
   Classic & Elegant | Emerald + Cream
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
    --emerald-950: #041C0C;
    --emerald-900: #052E16;
    --emerald-800: #1B4332;
    --emerald-700: #2D6A4F;
    --emerald-600: #40916C;
    --emerald-500: #52B788;
    --emerald-400: #74C69D;
    --emerald-300: #95D5B2;
    --emerald-200: #B7E4C7;
    --emerald-100: #D8F3DC;
    --emerald-50:  #F0FFF4;

    --cream-50:  #FDFCF8;
    --cream-100: #F9F8F3;
    --cream-200: #F5F0E8;
    --cream-300: #EDE8DD;
    --cream-400: #E0D9CC;
    --cream-500: #C4B8A4;

    --text-dark:    #1A1A1A;
    --text-medium:  #3D3D3D;
    --text-light:   #6B6B6B;
    --text-inverse: #F5F0E8;

    --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-body:    'Lora', 'Palatino Linotype', 'Book Antiqua', Palatino, serif;
    --font-ui:      'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    --shadow-sm:  0 1px 3px rgba(5, 46, 22, 0.06), 0 1px 2px rgba(5, 46, 22, 0.04);
    --shadow-md:  0 4px 16px rgba(5, 46, 22, 0.08), 0 2px 6px rgba(5, 46, 22, 0.04);
    --shadow-lg:  0 12px 40px rgba(5, 46, 22, 0.12), 0 4px 12px rgba(5, 46, 22, 0.06);
    --shadow-xl:  0 24px 60px rgba(5, 46, 22, 0.14), 0 8px 20px rgba(5, 46, 22, 0.08);

    --radius-sm:  6px;
    --radius-md:  12px;
    --radius-lg:  20px;
    --radius-xl:  28px;

    --transition-fast: 0.2s ease;
    --transition-base: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

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

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

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

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

ul {
    list-style: none;
}

/* --- Container --- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* --- Typography --- */
h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 500;
    line-height: 1.2;
    color: var(--text-dark);
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-ui);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--emerald-700);
    margin-bottom: 16px;
}

.section-tag::before {
    content: '';
    display: block;
    width: 24px;
    height: 1.5px;
    background: var(--emerald-500);
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 500;
    line-height: 1.15;
    color: var(--text-dark);
    margin-bottom: 20px;
}

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

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-ui);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    padding: 14px 28px;
    border-radius: 50px;
    transition: all var(--transition-base);
    white-space: nowrap;
}

.btn-primary {
    background: var(--emerald-800);
    color: var(--cream-50);
    border: 2px solid var(--emerald-800);
}

.btn-primary:hover {
    background: var(--emerald-700);
    border-color: var(--emerald-700);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: transparent;
    color: var(--emerald-800);
    border: 2px solid var(--emerald-800);
}

.btn-secondary:hover {
    background: var(--emerald-800);
    color: var(--cream-50);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--emerald-800);
    border: 2px solid var(--emerald-600);
}

.btn-outline:hover {
    background: var(--emerald-100);
    transform: translateY(-2px);
}

.btn-white {
    background: var(--cream-50);
    color: var(--emerald-900);
    border: 2px solid var(--cream-50);
}

.btn-white:hover {
    background: var(--cream-200);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-ghost {
    background: transparent;
    color: var(--cream-200);
    border: 2px solid rgba(245, 240, 232, 0.4);
}

.btn-ghost:hover {
    background: rgba(245, 240, 232, 0.1);
    border-color: var(--cream-200);
    transform: translateY(-2px);
}

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

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(253, 252, 248, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(27, 67, 50, 0.08);
    transition: all var(--transition-base);
}

.nav.scrolled {
    background: rgba(253, 252, 248, 0.97);
    box-shadow: var(--shadow-sm);
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.nav-logo {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--emerald-900);
    display: flex;
    align-items: center;
    gap: 10px;
    transition: color var(--transition-fast);
}

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

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

.nav-links a {
    font-family: var(--font-ui);
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--text-medium);
    transition: color var(--transition-fast);
    position: relative;
}

.nav-links a:not(.nav-cta)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--emerald-600);
    transition: width var(--transition-base);
}

.nav-links a:not(.nav-cta):hover {
    color: var(--emerald-800);
}

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

.nav-cta {
    font-family: var(--font-ui);
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--emerald-800) !important;
    background: var(--emerald-100);
    padding: 10px 22px;
    border-radius: 50px;
    transition: all var(--transition-base) !important;
}

.nav-cta:hover {
    background: var(--emerald-200) !important;
    transform: translateY(-1px);
}

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

/* Mobile Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    z-index: 1001;
}

.nav-toggle-bar {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--emerald-900);
    border-radius: 2px;
    transition: all var(--transition-base);
    transform-origin: center;
}

.nav-toggle.active .nav-toggle-bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active .nav-toggle-bar:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active .nav-toggle-bar:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 999;
    background: rgba(5, 46, 22, 0.6);
    backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
}

.mobile-menu.open {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-content {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 360px;
    height: 100%;
    background: var(--cream-50);
    padding: 100px 32px 40px;
    transform: translateX(100%);
    transition: transform var(--transition-base);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

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

.mobile-menu-close {
    position: absolute;
    top: 20px;
    right: 20px;
    color: var(--emerald-800);
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background var(--transition-fast);
}

.mobile-menu-close:hover {
    background: var(--emerald-100);
}

.mobile-menu-link {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--emerald-900);
    padding: 12px 0;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid var(--cream-300);
    transition: color var(--transition-fast), padding-left var(--transition-fast);
}

.mobile-menu-link:hover {
    color: var(--emerald-600);
    padding-left: 8px;
}

.mobile-menu-phone,
.mobile-menu-directions {
    font-family: var(--font-ui);
    font-size: 0.9375rem;
    color: var(--text-medium);
    border-bottom: none;
    margin-top: 8px;
}

.mobile-menu-phone:hover,
.mobile-menu-directions:hover {
    color: var(--emerald-700);
}

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

.hero-bg-pattern {
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(ellipse 80% 60% at 70% 40%, rgba(45, 106, 79, 0.04) 0%, transparent 70%),
        radial-gradient(ellipse 50% 80% at 20% 80%, rgba(82, 183, 136, 0.05) 0%, transparent 60%);
    pointer-events: none;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-left {
    max-width: 540px;
}

.hero-label {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-ui);
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--emerald-700);
    margin-bottom: 28px;
}

.hero-label-line {
    display: block;
    width: 32px;
    height: 2px;
    background: var(--emerald-500);
    border-radius: 2px;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 500;
    line-height: 1.1;
    color: var(--emerald-900);
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.hero-title-accent {
    font-style: italic;
    color: var(--emerald-600);
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 36px;
    max-width: 460px;
}

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

.hero-trust {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.hero-trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-ui);
    font-size: 0.8125rem;
    color: var(--text-medium);
}

.hero-trust-item svg {
    color: var(--emerald-600);
    flex-shrink: 0;
}

/* Hero Right */
.hero-right {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.hero-image-main {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    aspect-ratio: 600/750;
}

.hero-image-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.hero-image-main:hover img {
    transform: scale(1.03);
}

.hero-image-accent {
    position: absolute;
    bottom: -30px;
    left: -40px;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    width: 260px;
    aspect-ratio: 400/300;
    border: 4px solid var(--cream-50);
}

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

.hero-badge {
    position: absolute;
    top: 30px;
    right: -20px;
    background: var(--emerald-800);
    color: var(--cream-50);
    padding: 12px 20px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-ui);
    font-size: 0.8125rem;
    font-weight: 500;
    box-shadow: var(--shadow-lg);
}

.hero-badge svg {
    color: var(--emerald-300);
}

/* Hero Scroll Indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--emerald-600);
    opacity: 0.5;
    animation: scrollBounce 2s ease-in-out infinite;
}

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

/* ============================================
   FLAVORS SECTION
   ============================================ */
.flavors {
    padding: 100px 0;
    background: var(--cream-100);
}

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

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

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

.flavor-card {
    background: var(--cream-50);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
    border: 1px solid rgba(27, 67, 50, 0.06);
}

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

.flavor-card-image {
    overflow: hidden;
    aspect-ratio: 400/300;
}

.flavor-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.flavor-card:hover .flavor-card-image img {
    transform: scale(1.06);
}

.flavor-card-content {
    padding: 24px;
}

.flavor-card-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--emerald-900);
}

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

.flavors-note {
    text-align: center;
}

.flavors-note p {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-ui);
    font-size: 0.875rem;
    color: var(--text-light);
    background: var(--cream-50);
    padding: 12px 24px;
    border-radius: 50px;
    border: 1px solid var(--cream-300);
}

.flavors-note svg {
    color: var(--emerald-600);
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about {
    padding: 100px 0;
    background: var(--cream-50);
}

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

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

.about-image-main {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 600/700;
}

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

.about-image-secondary {
    position: absolute;
    bottom: -24px;
    right: -24px;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    width: 55%;
    aspect-ratio: 400/280;
    border: 4px solid var(--cream-50);
}

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

.about-text-col {
    padding: 20px 0;
}

.about-divider {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 28px;
}

.about-divider-line {
    flex: 1;
    height: 1px;
    background: var(--cream-400);
}

.about-divider svg {
    color: var(--emerald-600);
    flex-shrink: 0;
}

.about-body {
    font-size: 1.05rem;
    color: var(--text-medium);
    line-height: 1.85;
    margin-bottom: 20px;
}

.about-stats {
    display: flex;
    gap: 40px;
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid var(--cream-300);
}

.about-stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.about-stat-number {
    font-family: var(--font-display);
    font-size: 2.25rem;
    font-weight: 600;
    color: var(--emerald-800);
    line-height: 1;
}

.about-stat-label {
    font-family: var(--font-ui);
    font-size: 0.8125rem;
    color: var(--text-light);
    letter-spacing: 0.04em;
}

/* ============================================
   EXPERIENCE SECTION
   ============================================ */
.experience {
    padding: 100px 0;
    background: var(--emerald-900);
    position: relative;
    overflow: hidden;
}

.experience::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(ellipse 60% 50% at 80% 20%, rgba(82, 183, 136, 0.1) 0%, transparent 60%),
        radial-gradient(ellipse 40% 60% at 10% 90%, rgba(45, 106, 79, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

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

.experience-header {
    text-align: center;
    margin-bottom: 60px;
}

.experience .section-tag {
    color: var(--emerald-300);
}

.experience .section-tag::before {
    background: var(--emerald-400);
}

.experience .section-title {
    color: var(--cream-50);
}

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

.experience-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    padding: 36px 28px;
    text-align: center;
    transition: all var(--transition-base);
}

.experience-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-4px);
}

.experience-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(82, 183, 136, 0.15);
    border-radius: 50%;
    color: var(--emerald-300);
}

.experience-item h3 {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--cream-50);
    margin-bottom: 10px;
}

.experience-item p {
    font-size: 0.9rem;
    color: rgba(245, 240, 232, 0.65);
    line-height: 1.65;
}

/* ============================================
   VISIT SECTION
   ============================================ */
.visit {
    padding: 100px 0;
    background: var(--cream-100);
}

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

.visit-info {
    padding: 40px;
    background: var(--cream-50);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(27, 67, 50, 0.06);
}

.visit-subtitle {
    font-size: 1.05rem;
    color: var(--text-light);
    margin-bottom: 36px;
    line-height: 1.7;
}

.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: var(--emerald-100);
    border-radius: 50%;
    color: var(--emerald-700);
}

.visit-detail-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.visit-detail-label {
    font-family: var(--font-ui);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-light);
}

.visit-detail-content a,
.visit-detail-content span {
    font-size: 0.9375rem;
    color: var(--text-medium);
    transition: color var(--transition-fast);
    line-height: 1.6;
}

.visit-detail-content a:hover {
    color: var(--emerald-700);
}

.visit-hours {
    font-size: 0.9375rem;
    color: var(--text-medium);
    line-height: 1.7;
}

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

.visit-map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    min-height: 480px;
}

.visit-map iframe {
    width: 100%;
    height: 100%;
    min-height: 480px;
}

/* ============================================
   CTA BANNER
   ============================================ */
.cta-banner {
    padding: 80px 0;
    background: var(--emerald-800);
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(ellipse at 30% 50%, rgba(82, 183, 136, 0.2) 0%, transparent 60%);
    pointer-events: none;
}

.cta-banner .container {
    position: relative;
    z-index: 1;
    text-align: center;
}

.cta-tag {
    font-family: var(--font-ui);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--emerald-300);
    margin-bottom: 16px;
}

.cta-title {
    font-size: clamp(1.75rem, 3.5vw, 2.75rem);
    font-weight: 500;
    color: var(--cream-50);
    margin-bottom: 16px;
    line-height: 1.2;
}

.cta-subtitle {
    font-size: 1.05rem;
    color: rgba(245, 240, 232, 0.7);
    margin-bottom: 36px;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

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

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--emerald-950);
    padding: 64px 0 0;
}

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

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    font-family: var(--font-display);
    font-size: 1.375rem;
    font-weight: 600;
    color: var(--cream-50);
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

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

.footer-tagline {
    font-size: 0.9rem;
    color: rgba(245, 240, 232, 0.55);
    line-height: 1.7;
}

.footer-heading {
    font-family: var(--font-ui);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--emerald-400);
    margin-bottom: 20px;
}

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

.footer-links a,
.footer-contact a {
    font-family: var(--font-ui);
    font-size: 0.875rem;
    color: rgba(245, 240, 232, 0.6);
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color var(--transition-fast);
}

.footer-links a:hover,
.footer-contact a:hover {
    color: var(--cream-200);
}

.footer-contact svg {
    flex-shrink: 0;
    opacity: 0.6;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
}

.footer-copyright {
    font-family: var(--font-ui);
    font-size: 0.8125rem;
    color: rgba(245, 240, 232, 0.4);
}

.footer-note {
    font-family: var(--font-ui);
    font-size: 0.8125rem;
    color: rgba(245, 240, 232, 0.3);
}

/* ============================================
   SCROLL REVEAL (progressive enhancement)
   ============================================ */
@media (prefers-reduced-motion: no-preference) {
    .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);
    }

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

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .hero-container {
        gap: 40px;
    }

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

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

    .hero-image-accent {
        left: -20px;
        bottom: -20px;
        width: 220px;
    }
}

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

    .nav-toggle {
        display: flex;
    }

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

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

    .hero-left {
        max-width: 100%;
        text-align: center;
    }

    .hero-subtitle {
        max-width: 100%;
    }

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

    .hero-trust {
        align-items: center;
    }

    .hero-right {
        max-width: 480px;
        margin: 0 auto;
        width: 100%;
    }

    .hero-image-accent {
        width: 180px;
        left: -10px;
        bottom: -16px;
    }

    .hero-badge {
        right: -10px;
        top: 20px;
        font-size: 0.75rem;
        padding: 10px 16px;
    }

    .hero-scroll-indicator {
        display: none;
    }

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

    .about-image-col {
        max-width: 480px;
        margin: 0 auto;
    }

    .about-stats {
        gap: 28px;
    }

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

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

    .visit-info {
        padding: 28px;
    }

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

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

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

    .footer-brand {
        max-width: 100%;
    }

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

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

    .hero {
        padding: 90px 0 50px;
    }

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

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

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

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

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

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

    .about-stats {
        flex-wrap: wrap;
        gap: 24px;
    }

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

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

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

    .cta-actions .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
}
</style>
<sm-file path="script.js">
/* ============================================
   Big Dipper Ice Cream — Interactive Scripts
   ============================================ */

(function () {
    'use strict';

    // --- Navigation scroll effect ---
    const nav = document.getElementById('nav');
    let lastScroll = 0;

    function handleNavScroll() {
        const currentScroll = window.pageYOffset;
        if (currentScroll > 50) {
            nav.classList.add('scrolled');
        } else {
            nav.classList.remove('scrolled');
        }
        lastScroll = currentScroll;
    }

    window.addEventListener('scroll', handleNavScroll, { passive: true });

    // --- Mobile menu ---
    const navToggle = document.getElementById('nav-toggle');
    const mobileMenu = document.getElementById('mobile-menu');
    const mobileMenuClose = document.getElementById('mobile-menu-close');
    const mobileMenuLinks = mobileMenu.querySelectorAll('.mobile-menu-link');

    function openMobileMenu() {
        mobileMenu.classList.add('open');
        navToggle.classList.add('active');
        navToggle.setAttribute('aria-expanded', 'true');
        document.body.style.overflow = 'hidden';
    }

    function closeMobileMenu() {
        mobileMenu.classList.remove('open');
        navToggle.classList.remove('active');
        navToggle.setAttribute('aria-expanded', 'false');
        document.body.style.overflow = '';
    }

    navToggle.addEventListener('click', function () {
        if (mobileMenu.classList.contains('open')) {
            closeMobileMenu();
        } else {
            openMobileMenu();
        }
    });

    mobileMenuClose.addEventListener('click', closeMobileMenu);

    mobileMenuLinks.forEach(function (link) {
        link.addEventListener('click', function () {
            closeMobileMenu();
        });
    });

    // Close on escape key
    document.addEventListener('keydown', function (e) {
        if (e.key === 'Escape' && mobileMenu.classList.contains('open')) {
            closeMobileMenu();
        }
    });

    // Close on resize to desktop
    const mediaQuery = window.matchMedia('(min-width: 769px)');
    mediaQuery.addEventListener('change', function (e) {
        if (e.matches) {
            closeMobileMenu();
        }
    });

    // --- Smooth scroll for anchor links ---
    document.querySelectorAll('a[href^="#"]').forEach(function (anchor) {
        anchor.addEventListener('click', function (e) {
            const targetId = this.getAttribute('href');
            if (targetId === '#') return;
            const target = document.querySelector(targetId);
            if (target) {
                e.preventDefault();
                const navHeight = nav.offsetHeight;
                const targetPosition = target.getBoundingClientRect().top + window.pageYOffset - navHeight - 20;
                window.scrollTo({
                    top: targetPosition,
                    behavior: 'smooth'
                });
            }
        });
    });

    // --- Scroll reveal (progressive enhancement) ---
    // Only activate if user hasn't requested reduced motion
    const prefersReducedMotion = window.matchMedia('(prefers-reduced-motion: reduce)').matches;

    if (!prefersReducedMotion && 'IntersectionObserver' in window) {
        const revealElements = document.querySelectorAll('.reveal');

        if (revealElements.length > 0) {
            const revealObserver = new IntersectionObserver(function (entries) {
                entries.forEach(function (entry) {
                    if (entry.isIntersecting) {
                        entry.target.classList.add('revealed');
                        revealObserver.unobserve(entry.target);
                    }
                });
            }, {
                threshold: 0.12,
                rootMargin: '0px 0px -40px 0px'
            });

            revealElements.forEach(function (el) {
                revealObserver.observe(el);
            });
        }
    }

    // --- Active nav link highlighting ---
    const sections = document.querySelectorAll('section[id]');
    const navLinks = document.querySelectorAll('.nav-links a:not(.nav-cta)');

    function highlightNav() {
        const scrollY = window.pageYOffset;
        let currentSection = '';

        sections.forEach(function (section) {
            const sectionTop = section.offsetTop - 120;
            const sectionHeight = section.offsetHeight;
            if (scrollY >= sectionTop && scrollY < sectionTop + sectionHeight) {
                currentSection = section.getAttribute('id');
            }
        });

        navLinks.forEach(function (link) {
            link.style.color = '';
            if (link.getAttribute('href') === '#' + currentSection) {
                link.style.color = 'var(--emerald-800)';
            }
        });
    }

    window.addEventListener('scroll', highlightNav, { passive: true });

})();
