/* ========================================
   Twice is Nice Thrift Store
   Bold Editorial · Burgundy + Blush
   ======================================== */

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

:root {
    --burgundy: #7B2D3B;
    --burgundy-deep: #5C1F2B;
    --burgundy-light: #9E4050;
    --blush: #F2D0C8;
    --blush-light: #FBE8E3;
    --blush-pale: #FFF5F2;
    --cream: #FDF8F6;
    --charcoal: #2A2225;
    --text: #3D2B30;
    --text-light: #6B545A;
    --white: #FFFFFF;
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, sans-serif;
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

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

body {
    font-family: var(--font-body);
    color: var(--text);
    background: 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 24px;
}

/* SKIP LINK */
.skip-link {
    position: absolute;
    top: -100%;
    left: 16px;
    background: var(--burgundy);
    color: var(--white);
    padding: 8px 16px;
    border-radius: 0 0 8px 8px;
    z-index: 1000;
    font-size: 0.875rem;
    font-weight: 500;
}
.skip-link:focus {
    top: 0;
}

/* ========================================
   HEADER
   ======================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: transparent;
    transition: background 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}
.header.scrolled {
    background: rgba(253, 248, 246, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(123, 45, 59, 0.08);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 20px;
    padding-bottom: 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--white);
    transition: color 0.3s;
}
.header.scrolled .logo {
    color: var(--burgundy);
}
.logo-icon {
    color: var(--white);
    transition: color 0.3s;
}
.header.scrolled .logo-icon {
    color: var(--burgundy);
}

.main-nav ul {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}
.main-nav a {
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: rgba(255,255,255,0.85);
    transition: color 0.3s;
    position: relative;
}
.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--blush);
    transition: width 0.3s var(--ease-out);
}
.main-nav a:hover::after {
    width: 100%;
}
.main-nav a:hover {
    color: var(--white);
}
.header.scrolled .main-nav a {
    color: var(--text-light);
}
.header.scrolled .main-nav a::after {
    background: var(--burgundy);
}
.header.scrolled .main-nav a:hover {
    color: var(--burgundy);
}

/* NAV TOGGLE */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 110;
}
.nav-toggle-bar {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: transform 0.3s var(--ease-out), opacity 0.3s;
}
.header.scrolled .nav-toggle-bar {
    background: var(--burgundy);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
    opacity: 0;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ========================================
   BUTTONS
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 500;
    padding: 14px 28px;
    border-radius: 100px;
    border: none;
    cursor: pointer;
    transition: all 0.3s var(--ease-out);
    white-space: nowrap;
}
.btn-primary {
    background: var(--burgundy);
    color: var(--white);
}
.btn-primary:hover {
    background: var(--burgundy-deep);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(123, 45, 59, 0.3);
}
.btn-outline {
    background: transparent;
    color: var(--white);
    border: 1.5px solid rgba(255,255,255,0.5);
}
.btn-outline:hover {
    border-color: var(--white);
    background: rgba(255,255,255,0.1);
    transform: translateY(-2px);
}
.btn-small {
    padding: 10px 22px;
    font-size: 0.8125rem;
}
.btn-full {
    width: 100%;
    justify-content: center;
}

/* ========================================
   SECTION HELPERS
   ======================================== */
.section-eyebrow {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--burgundy);
    margin-bottom: 16px;
}
.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.25rem);
    font-weight: 700;
    line-height: 1.15;
    color: var(--charcoal);
    margin-bottom: 24px;
}
.section-title em {
    font-style: italic;
    color: var(--burgundy);
}

/* ========================================
   HERO
   ======================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}
.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(42, 34, 37, 0.78) 0%,
        rgba(92, 31, 43, 0.65) 50%,
        rgba(123, 45, 59, 0.55) 100%
    );
}
.hero-content {
    position: relative;
    z-index: 1;
    max-width: 780px;
    padding-top: 80px;
}
.hero-eyebrow {
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--blush);
    margin-bottom: 24px;
}
.hero-headline {
    font-family: var(--font-display);
    font-size: clamp(2.75rem, 7vw, 5rem);
    font-weight: 900;
    line-height: 1.08;
    color: var(--white);
    margin-bottom: 28px;
}
.hero-headline em {
    font-style: italic;
    color: var(--blush);
}
.hero-sub {
    font-size: clamp(1.0625rem, 2vw, 1.25rem);
    line-height: 1.65;
    color: rgba(255,255,255,0.8);
    max-width: 560px;
    margin-bottom: 40px;
}
.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}
.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.5);
    font-size: 0.6875rem;
    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); }
}

/* ========================================
   ABOUT
   ======================================== */
.about {
    padding: 120px 0;
    background: var(--cream);
}
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}
.about-image {
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 4/5;
}
.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-out);
}
.about-image:hover img {
    transform: scale(1.03);
}
.about-content .section-title {
    margin-bottom: 24px;
}
.about-content p {
    font-size: 1.0625rem;
    line-height: 1.75;
    color: var(--text-light);
    margin-bottom: 18px;
}
.about-stats {
    display: flex;
    gap: 40px;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid var(--blush);
}
.stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.stat-number {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--burgundy);
}
.stat-label {
    font-size: 0.8125rem;
    color: var(--text-light);
    line-height: 1.4;
}

/* ========================================
   OFFERINGS
   ======================================== */
.offerings {
    padding: 120px 0;
    background: var(--blush-pale);
}
.offerings .section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 64px;
}
.offerings-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.offering-card {
    background: var(--white);
    border-radius: 16px;
    padding: 40px 28px;
    transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
    position: relative;
    overflow: hidden;
}
.offering-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--burgundy);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s var(--ease-out);
}
.offering-card:hover::before {
    transform: scaleX(1);
}
.offering-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 48px rgba(123, 45, 59, 0.12);
}
.offering-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: var(--blush-light);
    color: var(--burgundy);
    margin-bottom: 24px;
}
.offering-card h3 {
    font-family: var(--font-display);
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--charcoal);
    margin-bottom: 12px;
}
.offering-card p {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--text-light);
}

/* ========================================
   WHY THRIFT
   ======================================== */
.why-thrift {
    padding: 120px 0;
    background: var(--cream);
}
.why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}
.why-image {
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 3/4;
}
.why-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-out);
}
.why-image:hover img {
    transform: scale(1.03);
}
.why-points {
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin-top: 8px;
}
.why-point {
    display: grid;
    grid-template-columns: 32px 1fr;
    gap: 20px;
}
.why-point-num {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--blush);
    padding-top: 4px;
}
.why-point h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--charcoal);
    margin-bottom: 6px;
}
.why-point p {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--text-light);
}

/* ========================================
   VISIT
   ======================================== */
.visit {
    padding: 120px 0;
    background: var(--burgundy);
    color: var(--white);
    position: relative;
    overflow: hidden;
}
.visit::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: rgba(242, 208, 200, 0.06);
}
.visit .container {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 720px;
}
.visit .section-eyebrow {
    color: var(--blush);
}
.visit .section-title {
    color: var(--white);
    margin-bottom: 20px;
}
.visit-desc {
    font-size: 1.125rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.75);
    margin-bottom: 48px;
}
.visit-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 48px;
    text-align: left;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}
.visit-detail {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}
.visit-icon {
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--blush);
}
.visit-detail strong {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 2px;
}
.visit-detail span {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.6);
}
.visit-detail a {
    color: var(--blush);
    transition: color 0.3s;
}
.visit-detail a:hover {
    color: var(--white);
}
.visit .btn-primary {
    background: var(--white);
    color: var(--burgundy);
}
.visit .btn-primary:hover {
    background: var(--blush);
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

/* ========================================
   CONTACT
   ======================================== */
.contact {
    padding: 120px 0;
    background: var(--blush-pale);
}
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}
.contact-info .section-title {
    margin-bottom: 20px;
}
.contact-info > p {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--text-light);
    margin-bottom: 32px;
}
.contact-direct {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--burgundy);
    transition: color 0.3s, transform 0.3s var(--ease-out);
}
.contact-link:hover {
    color: var(--burgundy-deep);
    transform: translateX(4px);
}

/* FORM */
.contact-form {
    background: var(--white);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 8px 32px rgba(123, 45, 59, 0.08);
}
.form-group {
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-light);
    margin-bottom: 8px;
}
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1.5px solid var(--blush);
    border-radius: 12px;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text);
    background: var(--cream);
    transition: border-color 0.3s, box-shadow 0.3s;
    outline: none;
}
.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--burgundy);
    box-shadow: 0 0 0 3px rgba(123, 45, 59, 0.1);
}
.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-light);
    opacity: 0.6;
}
.form-group textarea {
    resize: vertical;
    min-height: 120px;
}
.form-success {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 16px;
    padding: 14px 16px;
    background: var(--blush-light);
    border-radius: 12px;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--burgundy);
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    background: var(--charcoal);
    color: rgba(255,255,255,0.5);
    padding: 48px 0;
}
.footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    text-align: center;
}
.footer .logo {
    color: var(--white);
}
.footer .logo-icon {
    color: var(--blush);
}
.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
}
.footer-links a {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.5);
    transition: color 0.3s;
}
.footer-links a:hover {
    color: var(--blush);
}
.footer-copy {
    font-size: 0.8125rem;
}

/* ========================================
   ANIMATIONS
   ======================================== */
.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.reveal.visible {
    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) {
    .offerings-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }
    .main-nav {
        position: fixed;
        top: 0;
        right: 0;
        width: 280px;
        height: 100vh;
        background: var(--burgundy);
        padding: 80px 32px 32px;
        transform: translateX(100%);
        transition: transform 0.4s var(--ease-out);
        z-index: 105;
    }
    .main-nav.open {
        transform: translateX(0);
    }
    .main-nav ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }
    .main-nav a {
        color: rgba(255,255,255,0.8) !important;
        font-size: 1.125rem;
    }
    .main-nav a::after {
        background: var(--blush) !important;
    }
    .main-nav a:hover {
        color: var(--white) !important;
    }
    .nav-overlay {
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.5);
        z-index: 104;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.4s;
    }
    .nav-overlay.active {
        opacity: 1;
        pointer-events: all;
    }

    .about-grid,
    .why-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .about-image {
        aspect-ratio: 16/10;
    }
    .why-image {
        aspect-ratio: 16/10;
    }
    .about-stats {
        gap: 24px;
    }
    .hero-headline {
        font-size: clamp(2.25rem, 10vw, 3.5rem);
    }
}

@media (max-width: 480px) {
    .offerings-grid {
        grid-template-columns: 1fr;
    }
    .hero-actions {
        flex-direction: column;
    }
    .hero-actions .btn {
        justify-content: center;
    }
    .contact-form {
        padding: 24px;
    }
    .about-stats {
        flex-direction: column;
        gap: 20px;
    }
}
