/* ═══════════════════════════════════════════
   RUSTIC IOWA GIRL BOUTIQUE — STYLESHEET
   Palette: Plum (#4A2040) + Amber (#C8961E)
   Fonts: Cormorant Garamond + Outfit
   ═══════════════════════════════════════════ */

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

:root {
    --plum-900: #1A0A18;
    --plum-800: #2D1026;
    --plum-700: #4A2040;
    --plum-600: #5C2A50;
    --plum-500: #6E3560;
    --plum-100: #F3E8F0;
    --plum-50:  #FBF5F8;

    --amber-600: #A87A10;
    --amber-500: #C8961E;
    --amber-400: #D4A853;
    --amber-300: #E8C97A;
    --amber-200: #F5E4B0;
    --amber-100: #FCF5E4;

    --white:   #FFFFFF;
    --off-white: #FAFAF8;
    --gray-50:  #F7F7F5;
    --gray-100: #EFEFEA;
    --gray-200: #E0DFD8;
    --gray-400: #9E9E96;
    --gray-600: #5A5A54;
    --gray-800: #2A2A26;
    --gray-900: #1A1A16;

    --font-serif: 'Cormorant Garamond', Georgia, serif;
    --font-sans:  'Outfit', -apple-system, sans-serif;

    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
    --ease-in:  cubic-bezier(0.64, 0, 0.78, 0);
}

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

body {
    font-family: var(--font-sans);
    font-weight: 300;
    color: var(--gray-800);
    background: var(--off-white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

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

/* ──── NAV ──── */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(250, 250, 248, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--gray-200);
    transition: box-shadow 0.3s var(--ease-out);
}

.nav.scrolled {
    box-shadow: 0 1px 20px rgba(74, 32, 64, 0.06);
}

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

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.nav-brand-mark {
    width: 32px;
    height: 32px;
    background: var(--plum-700);
    border-radius: 50%;
    display: block;
    position: relative;
}

.nav-brand-mark::after {
    content: 'R';
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-serif);
    font-size: 16px;
    font-weight: 600;
    font-style: italic;
    color: var(--amber-400);
}

.nav-brand-text {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--plum-700);
    letter-spacing: 0.01em;
}

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

.nav-links a {
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gray-600);
    transition: color 0.25s var(--ease-out);
    position: relative;
}

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

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

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

.nav-cta {
    font-size: 0.78rem !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase;
    color: var(--plum-700) !important;
    border: 1px solid var(--plum-700);
    padding: 0.5rem 1.2rem;
    border-radius: 100px;
    transition: background 0.25s var(--ease-out), color 0.25s var(--ease-out) !important;
}

.nav-cta:hover {
    background: var(--plum-700);
    color: var(--white) !important;
}

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

.nav-toggle-line {
    width: 22px;
    height: 1.5px;
    background: var(--plum-700);
    transition: transform 0.3s var(--ease-out), opacity 0.2s;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(2) {
    opacity: 0;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
}

/* Mobile overlay */
.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(26, 10, 24, 0.5);
    z-index: 90;
    opacity: 0;
    transition: opacity 0.3s var(--ease-out);
}

.nav-overlay.active {
    display: block;
    opacity: 1;
}

/* ──── HERO ──── */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 72px 2rem 4rem;
    background: var(--plum-900);
    position: relative;
    overflow: hidden;
}

.hero-bg-pattern {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(ellipse 80% 60% at 70% 40%, rgba(74, 32, 64, 0.6) 0%, transparent 70%),
        radial-gradient(circle at 20% 80%, rgba(200, 150, 30, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.hero-grid {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-eyebrow {
    font-size: 0.72rem;
    font-weight: 400;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--amber-400);
    margin-bottom: 1.5rem;
}

.hero-headline {
    font-family: var(--font-serif);
    font-size: clamp(2.8rem, 5.5vw, 4.8rem);
    font-weight: 300;
    line-height: 1.08;
    color: var(--white);
    margin-bottom: 1.5rem;
    letter-spacing: -0.01em;
}

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

.hero-sub {
    font-size: 1.05rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
    max-width: 420px;
    margin-bottom: 2.5rem;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 1.8rem;
    border-radius: 100px;
    font-family: var(--font-sans);
    font-size: 0.82rem;
    font-weight: 400;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: all 0.3s var(--ease-out);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--amber-500);
    color: var(--plum-900);
}

.btn-primary:hover {
    background: var(--amber-400);
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(200, 150, 30, 0.25);
}

.btn-ghost {
    background: transparent;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.btn-ghost:hover {
    border-color: var(--amber-400);
    color: var(--amber-400);
}

/* Floating stat cards */
.hero-cards {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: relative;
}

.stat-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 1.4rem 1.6rem;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: transform 0.4s var(--ease-out), border-color 0.3s;
}

.stat-card:hover {
    transform: translateX(6px);
    border-color: rgba(212, 168, 83, 0.3);
}

.stat-card--1 { transform: translateY(0); }
.stat-card--2 { transform: translateY(12px); }
.stat-card--3 { transform: translateY(24px); }

.stat-card:hover {
    transform: translateY(0) translateX(6px) !important;
}

.stat-card-label {
    display: block;
    font-size: 0.65rem;
    font-weight: 400;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--amber-400);
    margin-bottom: 0.4rem;
}

.stat-card-value {
    display: block;
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--white);
    line-height: 1.2;
}

.stat-card-sub {
    display: block;
    font-size: 0.82rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.45);
    margin-top: 0.2rem;
}

/* ──── DIVIDER ──── */
.divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 0 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.divider-line {
    flex: 1;
    height: 1px;
    background: var(--gray-200);
}

.divider-diamond {
    width: 6px;
    height: 6px;
    background: var(--amber-500);
    transform: rotate(45deg);
    flex-shrink: 0;
}

/* ──── SECTION UTILITIES ──── */
.section-eyebrow {
    font-size: 0.7rem;
    font-weight: 400;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--amber-600);
    margin-bottom: 1rem;
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 400;
    line-height: 1.15;
    color: var(--plum-700);
    margin-bottom: 1.2rem;
    letter-spacing: -0.01em;
}

.section-sub {
    font-size: 1.02rem;
    font-weight: 300;
    color: var(--gray-600);
    line-height: 1.7;
    max-width: 520px;
}

/* ──── ABOUT ──── */
.about {
    padding: 7rem 2rem;
    background: var(--off-white);
}

.about-layout {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image-wrap {
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 560 / 700;
    background: var(--gray-100);
}

.about-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-out);
}

.about-image-wrap:hover img {
    transform: scale(1.02);
}

.about-text {
    max-width: 520px;
}

.about-text p {
    font-size: 0.95rem;
    font-weight: 300;
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.about-text p:first-of-type {
    font-size: 1.05rem;
    color: var(--gray-800);
}

.about-pillars {
    display: flex;
    gap: 2rem;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--gray-200);
}

.pillar {
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

.pillar-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--plum-100);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--plum-700);
    flex-shrink: 0;
}

.pillar-text {
    font-size: 0.82rem;
    font-weight: 400;
    letter-spacing: 0.04em;
    color: var(--plum-700);
}

/* ──── COLLECTIONS ──── */
.collections {
    padding: 5rem 2rem 7rem;
    background: var(--white);
}

.section-header {
    max-width: 1200px;
    margin: 0 auto 3.5rem;
}

.collections-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.collection-card {
    border-radius: 12px;
    overflow: hidden;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out), border-color 0.3s;
    display: block;
}

.collection-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(74, 32, 64, 0.1);
    border-color: var(--plum-100);
}

.collection-card-img {
    aspect-ratio: 420 / 520;
    overflow: hidden;
    background: var(--gray-100);
}

.collection-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-out);
}

.collection-card:hover .collection-card-img img {
    transform: scale(1.04);
}

.collection-card-body {
    padding: 1.5rem;
}

.collection-card-tag {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--amber-600);
    margin-bottom: 0.5rem;
}

.collection-card h3 {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--plum-700);
    margin-bottom: 0.5rem;
}

.collection-card p {
    font-size: 0.88rem;
    font-weight: 300;
    color: var(--gray-600);
    line-height: 1.6;
}

/* ──── VISIT ──── */
.visit {
    padding: 5rem 2rem 7rem;
    background: var(--plum-50);
}

.visit-layout {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: stretch;
}

.visit-info {
    padding: 3rem;
    background: var(--white);
    border-radius: 16px;
    border: 1px solid var(--gray-200);
}

.visit-desc {
    font-size: 0.95rem;
    font-weight: 300;
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 2.5rem;
}

.visit-details {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

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

.visit-detail-label {
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--gray-400);
}

.visit-detail-value {
    font-size: 0.95rem;
    font-weight: 400;
    color: var(--gray-800);
    line-height: 1.5;
}

.visit-detail-link {
    font-size: 0.95rem;
    font-weight: 400;
    color: var(--plum-700);
    border-bottom: 1px solid var(--gray-200);
    padding-bottom: 2px;
    transition: border-color 0.2s, color 0.2s;
}

.visit-detail-link:hover {
    color: var(--amber-600);
    border-color: var(--amber-500);
}

.visit-map {
    border-radius: 16px;
    overflow: hidden;
    min-height: 400px;
    border: 1px solid var(--gray-200);
}

/* ──── CTA ──── */
.cta {
    padding: 6rem 2rem;
    background: var(--plum-800);
    text-align: center;
}

.cta-inner {
    max-width: 600px;
    margin: 0 auto;
}

.cta .section-eyebrow {
    color: var(--amber-400);
}

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

.cta-desc {
    font-size: 0.95rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.7;
    margin-bottom: 2.5rem;
}

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

.cta-link {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--amber-300);
    border: 1px solid rgba(212, 168, 83, 0.3);
    padding: 0.75rem 1.5rem;
    border-radius: 100px;
    transition: background 0.25s var(--ease-out), border-color 0.25s, color 0.25s;
}

.cta-link:hover {
    background: rgba(212, 168, 83, 0.1);
    border-color: var(--amber-400);
    color: var(--amber-400);
}

.cta-link svg {
    flex-shrink: 0;
}

/* ──── FOOTER ──── */
.footer {
    background: var(--plum-900);
    padding: 3rem 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.5rem;
}

.footer-brand-mark {
    width: 28px;
    height: 28px;
    background: var(--plum-700);
    border-radius: 50%;
    display: block;
    position: relative;
}

.footer-brand-mark::after {
    content: 'R';
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-serif);
    font-size: 14px;
    font-weight: 600;
    font-style: italic;
    color: var(--amber-400);
}

.footer-brand-name {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--white);
}

.footer-copy {
    font-size: 0.78rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.35);
}

.footer-address {
    font-size: 0.78rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.25);
}

/* ──── SCROLL REVEAL (progressive enhancement) ──── */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
    }

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

/* ──── RESPONSIVE ──── */
@media (max-width: 960px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

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

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

    .hero-cards {
        max-width: 420px;
        margin: 0 auto;
    }

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

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

    .about-text {
        max-width: 100%;
    }

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

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

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

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: 0;
        width: 280px;
        height: 100vh;
        background: var(--off-white);
        flex-direction: column;
        justify-content: center;
        gap: 2rem;
        padding: 2rem;
        transform: translateX(100%);
        transition: transform 0.35s var(--ease-out);
        box-shadow: -8px 0 32px rgba(0,0,0,0.1);
        z-index: 95;
    }

    .nav-links.open {
        transform: translateX(0);
    }

    .nav-links a {
        font-size: 0.9rem;
    }

    .nav-toggle {
        display: flex;
        z-index: 101;
    }

    .hero {
        padding-top: 80px;
        min-height: auto;
        padding-bottom: 4rem;
    }

    .hero-headline {
        font-size: clamp(2.2rem, 10vw, 3rem);
    }

    .stat-card--2, .stat-card--3 {
        transform: translateY(0);
    }

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

    .about-pillars {
        flex-direction: column;
        gap: 1rem;
    }

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

@media (max-width: 480px) {
    .nav-inner {
        padding: 0 1.2rem;
    }

    .hero {
        padding: 80px 1.2rem 3rem;
    }

    .hero-cards {
        gap: 0.7rem;
    }

    .stat-card {
        padding: 1rem 1.2rem;
    }

    .stat-card-value {
        font-size: 1.25rem;
    }

    .about, .collections, .visit {
        padding: 4rem 1.2rem;
    }

    .visit-info {
        padding: 2rem 1.5rem;
    }

    .cta {
        padding: 4rem 1.2rem;
    }
}
