/* ============================================
   Winsome Stroll Market — Brand Styles
   Palette: Plum (#4a1942) + Amber (#d4a017)
   Fonts: Lora (serif headlines) + Manrope (sans body)
   ============================================ */

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

:root {
    --plum-950: #1a0a18;
    --plum-900: #2d1028;
    --plum-800: #4a1942;
    --plum-700: #6b2558;
    --plum-600: #8a2f70;
    --plum-100: #f5e6f0;
    --plum-50: #fdf3f8;

    --amber-600: #b8860b;
    --amber-500: #d4a017;
    --amber-400: #e8b828;
    --amber-100: #fdf6e3;
    --amber-50: #fefcf3;

    --cream: #faf8f5;
    --warm-gray: #f5f0eb;
    --text-dark: #1a1210;
    --text-mid: #4a3f3a;
    --text-light: #7a6f6a;

    --font-serif: 'Lora', Georgia, 'Times New Roman', serif;
    --font-sans: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2.5rem;
    --space-xl: 4rem;
    --space-2xl: 6rem;
    --space-3xl: 8rem;

    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;

    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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;
    overflow-x: hidden;
}

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

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

/* Skip link */
.skip-link {
    position: absolute;
    top: -100%;
    left: var(--space-sm);
    background: var(--plum-800);
    color: #fff;
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-sm);
    z-index: 200;
    font-weight: 600;
}
.skip-link:focus {
    top: var(--space-sm);
}

/* ============================================
   HEADER
   ============================================ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(250, 248, 245, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(74, 25, 66, 0.08);
    transition: box-shadow var(--transition);
}

.site-header.scrolled {
    box-shadow: 0 4px 30px rgba(74, 25, 66, 0.08);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--plum-800);
    letter-spacing: -0.01em;
}

.logo svg {
    flex-shrink: 0;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: var(--space-lg);
}

.nav-list a {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-mid);
    letter-spacing: 0.02em;
    text-transform: uppercase;
    position: relative;
    transition: color var(--transition);
}

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

.nav-list a:hover,
.nav-list a:focus-visible {
    color: var(--plum-800);
}

.nav-list a:hover::after,
.nav-list a:focus-visible::after {
    width: 100%;
}

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

.hamburger {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: block;
    width: 22px;
    height: 2px;
    background: var(--plum-800);
    transition: var(--transition);
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--plum-800);
    transition: var(--transition);
}

.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
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--plum-950);
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('https://images.pexels.com/photos/4903412/pexels-photo-4903412.jpeg?auto=compress&cs=tinysrgb&fit=crop&w=1920&h=1080');
    background-size: cover;
    background-position: center;
    opacity: 0.35;
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(26, 10, 24, 0.88) 0%,
        rgba(74, 25, 66, 0.75) 50%,
        rgba(26, 10, 24, 0.85) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 820px;
    padding: var(--space-3xl) var(--space-md);
}

.hero-eyebrow {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--amber-500);
    margin-bottom: var(--space-md);
}

.hero-headline {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    line-height: 1.1;
    color: #fff;
    margin-bottom: var(--space-md);
    letter-spacing: -0.02em;
}

.hero-headline br {
    display: none;
}

.hero-sub {
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.7;
    max-width: 560px;
    margin: 0 auto var(--space-lg);
}

.hero-actions {
    display: flex;
    gap: var(--space-sm);
    justify-content: center;
    flex-wrap: wrap;
}

.hero-scroll {
    position: absolute;
    bottom: var(--space-lg);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    z-index: 1;
}

.hero-scroll svg {
    animation: scrollBounce 2s ease-in-out infinite;
}

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

/* ============================================
   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.04em;
    text-transform: uppercase;
    border: 2px solid transparent;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
}

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

.btn-primary:hover,
.btn-primary:focus-visible {
    background: var(--amber-400);
    border-color: var(--amber-400);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 160, 23, 0.3);
}

.btn-secondary {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.4);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
}

/* ============================================
   SECTION LABELS & TITLES
   ============================================ */
.section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--amber-600);
    margin-bottom: var(--space-sm);
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 700;
    line-height: 1.1;
    color: var(--plum-800);
    letter-spacing: -0.02em;
    margin-bottom: var(--space-md);
}

/* ============================================
   INTRO / ABOUT
   ============================================ */
.intro {
    padding: var(--space-3xl) 0;
    background: var(--cream);
}

.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: center;
}

.intro-text .section-title {
    margin-bottom: var(--space-md);
}

.intro-text p {
    font-size: 1.05rem;
    color: var(--text-mid);
    line-height: 1.8;
    margin-bottom: var(--space-sm);
}

.intro-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4/5;
}

.intro-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* ============================================
   PILLARS
   ============================================ */
.pillars {
    padding: var(--space-3xl) 0;
    background: var(--plum-800);
}

.pillars .section-title {
    color: #fff;
}

.pillars-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto var(--space-xl);
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
}

.pillar-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    transition: all var(--transition);
}

.pillar-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-4px);
}

.pillar-number {
    font-family: var(--font-serif);
    font-size: 3rem;
    font-weight: 700;
    color: var(--amber-500);
    line-height: 1;
    margin-bottom: var(--space-sm);
    opacity: 0.6;
}

.pillar-card h3 {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: var(--space-sm);
}

.pillar-card p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
}

/* ============================================
   COLLECTION
   ============================================ */
.collection {
    padding: var(--space-3xl) 0;
    background: var(--warm-gray);
}

.collection-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto var(--space-xl);
}

.collection-desc {
    font-size: 1.05rem;
    color: var(--text-mid);
    line-height: 1.7;
}

.collection-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: auto auto;
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
}

.collection-item {
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    transition: transform var(--transition);
}

.collection-item:hover {
    transform: translateY(-4px);
}

.collection-item:nth-child(1) { grid-column: 1 / 6; grid-row: 1; }
.collection-item:nth-child(2) { grid-column: 6 / 9; grid-row: 1; }
.collection-item:nth-child(3) { grid-column: 9 / 13; grid-row: 1; }
.collection-item:nth-child(4) { grid-column: 1 / 5; grid-row: 2; }

.collection-img {
    overflow: hidden;
    aspect-ratio: 1;
}

.collection-item:nth-child(2) .collection-img { aspect-ratio: 5/6; }
.collection-item:nth-child(3) .collection-img { aspect-ratio: 4/5; }
.collection-item:nth-child(4) .collection-img { aspect-ratio: 1; }

.collection-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.collection-info {
    padding: var(--space-sm) var(--space-md);
    background: #fff;
}

.collection-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--amber-600);
    margin-bottom: 0.25rem;
}

.collection-info h3 {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--plum-800);
}

.collection-cta {
    text-align: center;
    padding: var(--space-xl);
    background: var(--plum-800);
    border-radius: var(--radius-lg);
}

.collection-cta p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.05rem;
    margin-bottom: var(--space-md);
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: var(--space-md);
}

/* ============================================
   MARQUEE STRIP
   ============================================ */
.marquee-strip {
    overflow: hidden;
    background: var(--amber-500);
    padding: var(--space-sm) 0;
}

.marquee-track {
    display: flex;
    gap: var(--space-lg);
    align-items: center;
    animation: marqueeScroll 25s linear infinite;
    width: max-content;
}

.marquee-track span {
    font-family: var(--font-serif);
    font-size: 1rem;
    font-weight: 600;
    color: var(--plum-950);
    white-space: nowrap;
    letter-spacing: 0.02em;
}

.dot {
    font-size: 0.6rem !important;
    color: var(--plum-800) !important;
    opacity: 0.5;
}

@keyframes marqueeScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ============================================
   VISIT
   ============================================ */
.visit {
    padding: var(--space-3xl) 0;
    background: var(--cream);
}

.visit-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: start;
}

.visit-info .section-title {
    margin-bottom: var(--space-lg);
}

.visit-address {
    font-style: normal;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: var(--space-md);
    padding: var(--space-md);
    background: var(--plum-50);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--amber-500);
}

.visit-details {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    margin-bottom: var(--space-lg);
}

.detail-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 1rem;
    color: var(--text-mid);
}

.detail-item svg {
    color: var(--amber-600);
    flex-shrink: 0;
}

.detail-item a {
    color: var(--plum-800);
    font-weight: 500;
    transition: color var(--transition);
    border-bottom: 1px solid transparent;
}

.detail-item a:hover {
    color: var(--amber-600);
    border-bottom-color: var(--amber-600);
}

.map-wrapper {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.visit-map-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 3/4;
}

.visit-map-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ============================================
   CONTACT
   ============================================ */
.contact {
    padding: var(--space-3xl) 0;
    background: var(--plum-900);
}

.contact-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: start;
}

.contact-text .section-title {
    color: #fff;
    margin-bottom: var(--space-sm);
}

.contact-text p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.05rem;
    line-height: 1.7;
}

.contact-form {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-sm);
}

.form-group {
    margin-bottom: var(--space-sm);
}

.form-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0.4rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-sm);
    transition: all var(--transition);
    outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.35);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--amber-500);
    background: rgba(255, 255, 255, 0.12);
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23d4a017' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

.form-group select option {
    background: var(--plum-900);
    color: #fff;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-note {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
    margin-top: var(--space-sm);
    text-align: center;
}

.form-success {
    text-align: center;
    padding: var(--space-xl);
}

.form-success svg {
    margin: 0 auto var(--space-sm);
}

.form-success h3 {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    color: #fff;
    margin-bottom: var(--space-xs);
}

.form-success p {
    color: rgba(255, 255, 255, 0.7);
}

.contact-form.hidden {
    display: none;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background: var(--plum-950);
    padding: var(--space-xl) 0 var(--space-md);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: var(--space-xl);
    margin-bottom: var(--space-xl);
}

.logo-light {
    color: #fff;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.5);
    margin-top: var(--space-sm);
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-serif);
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: var(--space-sm);
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    transition: color var(--transition);
}

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

.footer-contact p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    line-height: 1.7;
}

.footer-contact a {
    color: var(--amber-500);
    transition: color var(--transition);
}

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

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

.footer-bottom p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.35);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .collection-grid {
        grid-template-columns: 1fr 1fr;
    }
    .collection-item:nth-child(1) { grid-column: 1 / -1; grid-row: auto; }
    .collection-item:nth-child(2) { grid-column: 1 / 2; grid-row: auto; }
    .collection-item:nth-child(3) { grid-column: 2 / 3; grid-row: auto; }
    .collection-item:nth-child(4) { grid-column: 1 / -1; grid-row: auto; }

    .collection-img { aspect-ratio: 16/9 !important; }
}

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

    .main-nav {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(250, 248, 245, 0.98);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        padding: var(--space-xl);
        transform: translateX(100%);
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 99;
    }

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

    .nav-list {
        flex-direction: column;
        gap: var(--space-md);
    }

    .nav-list a {
        font-size: 1.2rem;
    }

    .hero-headline br {
        display: block;
    }

    .intro-grid,
    .visit-grid,
    .contact-inner {
        grid-template-columns: 1fr;
    }

    .intro-image {
        order: -1;
        aspect-ratio: 4/3;
    }

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

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

    .collection-item:nth-child(1),
    .collection-item:nth-child(2),
    .collection-item:nth-child(3),
    .collection-item:nth-child(4) {
        grid-column: auto;
        grid-row: auto;
    }

    .collection-img { aspect-ratio: 4/3 !important; }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

    .visit-map-image {
        aspect-ratio: 4/3;
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

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

/* ============================================
   REDUCED MOTION
   ============================================ */
@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; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    .reveal {
        opacity: 1;
        transform: none;
    }
}
