/* ========================================
   My Town Swag — Editorial Retail Site
   Deep Navy + Warm Gold Palette
   ======================================== */

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

:root {
    --navy: #0a1628;
    --navy-light: #132038;
    --gold: #c8a45e;
    --gold-light: #d4b76a;
    --gold-dark: #b08d3f;
    --cream: #f8f6f1;
    --cream-dark: #efecea;
    --white: #ffffff;
    --text-dark: #0a1628;
    --text-light: #f8f6f1;
    --text-muted: #6b7280;
    --font-serif: 'Playfair Display', Georgia, serif;
    --font-sans: 'Inter', system-ui, sans-serif;
    --transition: 0.3s ease;
}

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

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

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

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

ul {
    list-style: none;
}

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

/* ========================================
   Typography
   ======================================== */

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

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.1;
    color: var(--navy);
    margin-bottom: 1.5rem;
}

/* ========================================
   Buttons
   ======================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border: 2px solid transparent;
    border-radius: 0;
    cursor: pointer;
    transition: all var(--transition);
}

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

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

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

.btn--dark:hover {
    background-color: var(--navy-light);
    border-color: var(--navy-light);
}

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

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

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

.btn--light:hover {
    background-color: var(--cream-dark);
}

/* ========================================
   Header
   ======================================== */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(248, 246, 241, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(10, 22, 40, 0.08);
    transition: all var(--transition);
}

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

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

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

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

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

.main-nav a {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--navy);
    letter-spacing: 0.02em;
    position: relative;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--gold);
    transition: width var(--transition);
}

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

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--navy);
    transition: all var(--transition);
}

/* ========================================
   Hero
   ======================================== */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    background-color: var(--cream);
}

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

.hero__content {
    padding-right: 2rem;
}

.hero__headline {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    line-height: 1.05;
    color: var(--navy);
    margin-bottom: 1.5rem;
}

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

.hero__subhead {
    font-size: 1.125rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 2.5rem;
    max-width: 480px;
}

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

.hero__image {
    position: relative;
    overflow: hidden;
}

.hero__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
}

.hero__image::after {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    right: -20px;
    bottom: -20px;
    border: 2px solid var(--gold);
    z-index: -1;
}

/* ========================================
   About
   ======================================== */

.about {
    padding: 8rem 0;
    background-color: var(--white);
}

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

.about__content p {
    font-size: 1.0625rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 1.25rem;
}

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

/* ========================================
   Collection
   ======================================== */

.collection {
    padding: 8rem 0;
    background-color: var(--cream);
}

.collection__header {
    text-align: center;
    margin-bottom: 4rem;
}

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

.collection__card {
    background-color: var(--white);
    overflow: hidden;
    transition: transform var(--transition), box-shadow var(--transition);
}

.collection__card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(10, 22, 40, 0.12);
}

.collection__card-img {
    overflow: hidden;
}

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

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

.collection__card-body {
    padding: 2rem;
    text-align: center;
}

.collection__card-body h3 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 0.75rem;
}

.collection__card-body p {
    font-size: 0.9375rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ========================================
   CTA
   ======================================== */

.cta {
    padding: 8rem 0;
    background-color: var(--navy);
    text-align: center;
}

.cta__content {
    max-width: 640px;
    margin: 0 auto;
}

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

.cta p {
    font-size: 1.125rem;
    color: rgba(248, 246, 241, 0.7);
    line-height: 1.7;
    margin-bottom: 2.5rem;
}

.cta__actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ========================================
   Visit
   ======================================== */

.visit {
    padding: 8rem 0;
    background-color: var(--white);
}

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

.visit__details {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

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

.visit__detail .icon {
    width: 24px;
    height: 24px;
    color: var(--gold);
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.visit__detail strong {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--navy);
    margin-bottom: 0.375rem;
}

.visit__detail p {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.visit__detail a {
    color: var(--gold-dark);
}

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

.visit__map iframe {
    width: 100%;
    height: 400px;
    border-radius: 0;
}

/* ========================================
   Footer
   ======================================== */

.footer {
    padding: 4rem 0 2rem;
    background-color: var(--navy);
    color: var(--text-light);
}

.footer__content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
    margin-bottom: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(248, 246, 241, 0.1);
}

.footer__brand p {
    color: rgba(248, 246, 241, 0.6);
    font-size: 0.9375rem;
    margin-top: 0.75rem;
    max-width: 280px;
}

.footer__links {
    display: flex;
    gap: 2rem;
}

.footer__links a {
    color: rgba(248, 246, 241, 0.7);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

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

.footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer__bottom p {
    font-size: 0.8125rem;
    color: rgba(248, 246, 241, 0.4);
}

.footer__bottom a {
    color: rgba(248, 246, 241, 0.4);
}

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

/* ========================================
   Reveal Animations (progressive enhancement)
   ======================================== */

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.8s ease, transform 0.8s ease;
    }

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

/* ========================================
   Responsive
   ======================================== */

@media (max-width: 1024px) {
    .hero__container,
    .about__grid,
    .visit__grid {
        gap: 3rem;
    }

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

@media (max-width: 768px) {
    .mobile-toggle {
        display: flex;
    }

    .main-nav {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background-color: var(--cream);
        padding: 2rem;
        transform: translateY(-120%);
        transition: transform var(--transition);
        border-bottom: 1px solid rgba(10, 22, 40, 0.08);
    }

    .main-nav.active {
        transform: translateY(0);
    }

    .main-nav ul {
        flex-direction: column;
        gap: 1.5rem;
    }

    .hero__container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

    .hero__subhead {
        margin-left: auto;
        margin-right: auto;
    }

    .hero__actions {
        justify-content: center;
    }

    .hero__image {
        max-height: 60vh;
    }

    .hero__image::after {
        display: none;
    }

    .about__grid,
    .visit__grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

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

    .footer__content {
        flex-direction: column;
    }

    .footer__links {
        flex-wrap: wrap;
        gap: 1rem;
    }

    .footer__bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero__headline {
        font-size: 2.25rem;
    }

    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.8125rem;
    }
}
