/* ========================================
   Snow Mountain Ice Cream & Kettle Corn
   Clean Minimalist Design
   Deep Navy + Warm Gold Palette
======================================== */

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

:root {
    --navy: #0a1628;
    --navy-light: #1a2d4a;
    --gold: #c9a84c;
    --gold-light: #e8d5a0;
    --cream: #faf8f5;
    --white: #ffffff;
    --gray: #6b7280;
    --gray-light: #f3f4f6;
    --font-serif: 'Cormorant Garamond', Georgia, serif;
    --font-sans: 'Montserrat', 'Helvetica Neue', sans-serif;
    --transition: all 0.3s ease;
}

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

body {
    font-family: var(--font-sans);
    font-weight: 300;
    color: var(--navy);
    background-color: var(--cream);
    line-height: 1.7;
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* --- Typography --- */
h1, h2, h3, h4 {
    font-family: var(--font-serif);
    font-weight: 400;
    line-height: 1.2;
}

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

.section-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    color: var(--navy);
    margin-bottom: 1.5rem;
    font-weight: 300;
}

.section-desc {
    font-size: 1.1rem;
    color: var(--gray);
    max-width: 500px;
    margin: 0 auto;
}

.lead {
    font-size: 1.25rem;
    color: var(--navy);
    margin-bottom: 1.5rem;
    font-weight: 300;
}

/* --- Layout --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 8rem 0;
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 0.9rem 2.2rem;
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    border-radius: 0;
    transition: var(--transition);
    cursor: pointer;
    border: 1px solid transparent;
}

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

.btn--primary:hover {
    background: var(--navy);
    color: var(--gold);
    border-color: var(--navy);
}

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

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

.btn--text {
    background: transparent;
    color: var(--navy);
    padding: 0.9rem 0;
    border-bottom: 1px solid var(--navy);
}

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

.full-width {
    width: 100%;
    text-align: center;
}

/* --- Navbar --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(250, 248, 245, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(10, 22, 40, 0.08);
    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: 0 2px 20px rgba(10, 22, 40, 0.08);
}

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

.logo {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--navy);
    letter-spacing: 0.02em;
}

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

.nav-links a {
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--navy);
    position: relative;
}

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

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

/* --- Mobile Toggle --- */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-toggle span {
    width: 24px;
    height: 1.5px;
    background: var(--navy);
    transition: var(--transition);
}

/* --- Mobile Menu --- */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--cream);
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    transform: translateX(100%);
    transition: transform 0.4s ease;
}

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

.close-menu {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--navy);
    cursor: pointer;
}

.mobile-link {
    font-family: var(--font-serif);
    font-size: 2rem;
    color: var(--navy);
    font-weight: 300;
}

.mobile-link:hover {
    color: var(--gold);
}

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

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(10, 22, 40, 0.4) 0%,
        rgba(10, 22, 40, 0.5) 50%,
        rgba(10, 22, 40, 0.7) 100%
    );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 2rem;
}

.hero-frame {
    max-width: 800px;
}

.hero-label {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--gold-light);
    display: block;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 300;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.15rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2.5rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta-group {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

.hero-cta-group .btn--primary {
    background: var(--gold);
    color: var(--navy);
    border-color: var(--gold);
}

.hero-cta-group .btn--primary:hover {
    background: transparent;
    color: var(--gold);
}

.hero-cta-group .btn--text {
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.5);
}

.hero-cta-group .btn--text:hover {
    color: var(--gold-light);
    border-color: var(--gold-light);
}

.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.scroll-indicator span {
    display: block;
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--gold), transparent);
    animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
    0% { transform: scaleY(0); transform-origin: top; }
    50% { transform: scaleY(1); transform-origin: top; }
    51% { transform-origin: bottom; }
    100% { transform: scaleY(0); transform-origin: bottom; }
}

/* --- About Section --- */
.about {
    background: var(--cream);
}

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

.about-image-col .image-wrapper {
    overflow: hidden;
}

.about-image-col img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.about-image-col:hover img {
    transform: scale(1.03);
}

.about-text-col .section-title {
    text-align: left;
}

.about-text-col p {
    color: var(--gray);
    margin-bottom: 1.25rem;
}

.values-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(10, 22, 40, 0.1);
}

.value-item .value-num {
    font-family: var(--font-serif);
    font-size: 2rem;
    color: var(--gold);
    display: block;
    margin-bottom: 0.5rem;
}

.value-item h4 {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.value-item p {
    font-size: 0.9rem;
    color: var(--gray);
    margin: 0;
}

/* --- Menu Section --- */
.menu {
    background: var(--white);
}

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

.menu-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.menu-card {
    background: var(--cream);
    overflow: hidden;
    transition: var(--transition);
}

.menu-card:hover {
    box-shadow: 0 20px 60px rgba(10, 22, 40, 0.1);
}

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

.menu-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

.menu-card-content {
    padding: 2.5rem;
}

.menu-card-content h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: var(--navy);
}

.menu-desc {
    font-size: 0.95rem;
    color: var(--gray);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.menu-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.menu-list li {
    font-size: 0.9rem;
    color: var(--navy);
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(10, 22, 40, 0.08);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.menu-list li::before {
    content: '';
    width: 6px;
    height: 1px;
    background: var(--gold);
    flex-shrink: 0;
}

/* --- Location Section --- */
.location {
    background: var(--cream);
}

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

.location-info .section-title {
    text-align: left;
}

.info-block {
    margin-bottom: 2.5rem;
}

.info-block h4 {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.75rem;
}

.info-block p {
    font-size: 1rem;
    color: var(--navy);
    line-height: 1.8;
}

.info-block a {
    color: var(--navy);
    border-bottom: 1px solid rgba(10, 22, 40, 0.2);
}

.info-block a:hover {
    color: var(--gold);
    border-color: var(--gold);
}

/* --- Contact Form --- */
.contact-form {
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(10, 22, 40, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem 0;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 300;
    color: var(--navy);
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(10, 22, 40, 0.2);
    outline: none;
    transition: var(--transition);
}

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

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--gray);
}

.form-success {
    display: none;
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--gold);
    font-weight: 400;
}

.form-success.show {
    display: block;
}

.map-container {
    height: 500px;
    background: var(--gray-light);
    overflow: hidden;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    filter: grayscale(30%);
}

/* --- Footer --- */
.footer {
    background: var(--navy);
    color: var(--white);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2rem;
}

.footer-logo {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--white);
}

.footer-brand p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 0.25rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-links a {
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
}

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

.footer-copy {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
    line-height: 1.8;
}

/* --- Animations --- */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Responsive --- */
@media (max-width: 968px) {
    .nav-links {
        display: none;
    }

    .mobile-toggle {
        display: flex;
    }

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

    .about-image-col img {
        height: 400px;
    }

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

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

    .map-container {
        height: 350px;
    }
}

@media (max-width: 640px) {
    .section {
        padding: 5rem 0;
    }

    .container {
        padding: 0 1.5rem;
    }

    .hero-cta-group {
        flex-direction: column;
        gap: 1rem;
    }

    .values-row {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

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

    .menu-card-content {
        padding: 1.5rem;
    }
}
