/* ============================================
   Through The Years — Brand Styles
   Palette: Plum (#5B3A8C) + Amber (#D4A843)
   Fonts: Cormorant Garamond + Inter
   ============================================ */

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

:root {
    --plum: #5B3A8C;
    --plum-dark: #3D2661;
    --plum-light: #7D5BBF;
    --plum-50: #F5F0FA;
    --plum-100: #EDE4F7;
    --amber: #D4A843;
    --amber-dark: #B8912E;
    --amber-light: #E8C97A;
    --amber-50: #FDF8EC;
    --cream: #FAFAF8;
    --cream-dark: #F2F2EE;
    --text-dark: #1A1A1A;
    --text-mid: #4A4A4A;
    --text-light: #7A7A7A;
    --white: #FFFFFF;
    --border: #E8E6E1;
    
    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: var(--font-body);
    font-weight: 300;
    color: var(--text-dark);
    background-color: var(--cream);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

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

/* ============================================
   Navigation
   ============================================ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(250, 250, 248, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    transition: box-shadow 0.3s var(--ease-smooth);
}

.nav.scrolled {
    box-shadow: 0 1px 20px rgba(91, 58, 140, 0.06);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-logo-mark {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 600;
    color: var(--plum);
    width: 36px;
    height: 36px;
    border: 1.5px solid var(--plum);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    letter-spacing: 0.02em;
}

.nav-logo-text {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 500;
    color: var(--text-dark);
    letter-spacing: 0.01em;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 36px;
}

.nav-links a {
    font-size: 13px;
    font-weight: 400;
    color: var(--text-mid);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    position: relative;
    transition: color 0.25s var(--ease-smooth);
}

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

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

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

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

.nav-toggle-line {
    display: block;
    width: 22px;
    height: 1.5px;
    background: var(--text-dark);
    transition: all 0.3s var(--ease-out);
    transform-origin: center;
}

.nav-toggle.active .nav-toggle-line:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
}

.nav-toggle.active .nav-toggle-line:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active .nav-toggle-line:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
}

/* ============================================
   Buttons
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 14px 28px;
    border: none;
    border-radius: 0;
    cursor: pointer;
    transition: all 0.3s var(--ease-smooth);
}

.btn-primary {
    background: var(--plum);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--plum-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(91, 58, 140, 0.25);
}

.btn-secondary {
    background: transparent;
    color: var(--plum);
    border: 1.5px solid var(--plum);
}

.btn-secondary:hover {
    background: var(--plum);
    color: var(--white);
}

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

/* ============================================
   Section Shared
   ============================================ */
.section-eyebrow {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--amber-dark);
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 300;
    line-height: 1.15;
    color: var(--text-dark);
    margin-bottom: 24px;
}

.text-plum {
    color: var(--plum);
}

.text-amber {
    color: var(--amber-dark);
}

.section-subtitle {
    font-size: 15px;
    color: var(--text-light);
    max-width: 480px;
    line-height: 1.7;
}

/* ============================================
   Hero
   ============================================ */
.hero {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    padding: 100px 0 60px;
    position: relative;
    overflow: hidden;
    background: var(--cream);
}

.hero-bg-pattern {
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(91, 58, 140, 0.04) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(212, 168, 67, 0.06) 0%, transparent 40%);
    pointer-events: none;
}

.hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 520px;
}

.hero-eyebrow {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--amber-dark);
    margin-bottom: 20px;
}

.hero-headline {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 300;
    line-height: 1.1;
    color: var(--text-dark);
    margin-bottom: 24px;
}

.hero-accent {
    color: var(--plum);
    font-style: italic;
    font-weight: 300;
}

.hero-sub {
    font-size: 15px;
    color: var(--text-mid);
    line-height: 1.8;
    margin-bottom: 36px;
    max-width: 420px;
}

.hero-stats {
    display: flex;
    gap: 16px;
    margin-top: 48px;
}

.stat-card {
    flex: 1;
    background: var(--white);
    border: 1px solid var(--border);
    padding: 20px 16px;
    text-align: center;
    transition: all 0.3s var(--ease-smooth);
}

.stat-card:hover {
    border-color: var(--plum-light);
    box-shadow: 0 4px 24px rgba(91, 58, 140, 0.08);
    transform: translateY(-2px);
}

.stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 500;
    color: var(--plum);
    margin-bottom: 4px;
}

.stat-label {
    font-size: 10px;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-light);
}

.hero-image-grid {
    display: grid;
    grid-template-rows: 3fr 2fr;
    gap: 16px;
    height: 100%;
    max-height: 600px;
}

.hero-image-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 2px;
}

.hero-image-grid img:first-child {
    border-radius: 2px;
}

.hero-image-grid img:last-child {
    border-radius: 2px;
}

/* ============================================
   About
   ============================================ */
.about {
    padding: 120px 0;
    background: var(--white);
}

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

.about-image {
    overflow: hidden;
}

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

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

.about-content {
    max-width: 460px;
}

.about-content p {
    font-size: 15px;
    color: var(--text-mid);
    line-height: 1.8;
    margin-bottom: 16px;
}

.about-values {
    display: flex;
    gap: 32px;
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid var(--border);
}

.value-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 400;
    color: var(--text-dark);
    letter-spacing: 0.02em;
}

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

/* ============================================
   Collection
   ============================================ */
.collection {
    padding: 120px 0;
    background: var(--cream);
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-header .section-subtitle {
    margin: 0 auto;
}

.collection-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.collection-card {
    background: var(--white);
    border: 1px solid var(--border);
    transition: all 0.4s var(--ease-out);
}

.collection-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(91, 58, 140, 0.1);
    border-color: var(--plum-light);
}

.collection-card-image {
    overflow: hidden;
    height: 280px;
}

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

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

.collection-card h3 {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 400;
    color: var(--text-dark);
    padding: 24px 24px 0;
}

.collection-card p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.7;
    padding: 12px 24px 28px;
}

/* ============================================
   Visit
   ============================================ */
.visit {
    padding: 120px 0;
    background: var(--white);
}

.visit-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.visit-text p {
    font-size: 15px;
    color: var(--text-mid);
    line-height: 1.8;
    margin-bottom: 32px;
}

.visit-image {
    overflow: hidden;
}

.visit-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 2px;
    transition: transform 0.6s var(--ease-out);
}

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

/* ============================================
   Contact
   ============================================ */
.contact {
    padding: 120px 0;
    background: var(--plum-50);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.contact-details {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.contact-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.contact-item svg {
    color: var(--plum);
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-label {
    display: block;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-light);
    margin-bottom: 4px;
}

.contact-value {
    font-size: 15px;
    color: var(--text-dark);
    line-height: 1.6;
}

.contact-link {
    font-size: 15px;
    color: var(--plum);
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s;
}

.contact-link:hover {
    border-bottom-color: var(--plum);
}

/* Form */
.contact-form-wrap {
    background: var(--white);
    padding: 40px;
    border: 1px solid var(--border);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-label {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-light);
}

.form-input {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 300;
    color: var(--text-dark);
    background: var(--cream);
    border: 1px solid var(--border);
    padding: 14px 16px;
    outline: none;
    transition: border-color 0.25s var(--ease-smooth);
    border-radius: 0;
    -webkit-appearance: none;
}

.form-input:focus {
    border-color: var(--plum);
}

.form-input::placeholder {
    color: var(--text-light);
    opacity: 0.6;
}

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

.form-success {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 40px;
    gap: 16px;
}

.form-success p {
    font-size: 15px;
    color: var(--text-mid);
    line-height: 1.6;
}

/* ============================================
   Map
   ============================================ */
.map-section {
    border-top: 1px solid var(--border);
}

.map-container {
    filter: saturate(0.6) contrast(1.05);
    transition: filter 0.4s var(--ease-smooth);
}

.map-container:hover {
    filter: saturate(1) contrast(1);
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background: var(--text-dark);
    color: var(--white);
    padding: 80px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 60px;
    padding-bottom: 60px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.footer-logo-mark {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 600;
    color: var(--amber);
    width: 32px;
    height: 32px;
    border: 1.5px solid var(--amber);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-logo-text {
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 500;
    color: var(--white);
}

.footer-tagline {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.7;
    max-width: 280px;
}

.footer-nav h4,
.footer-contact h4 {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--amber);
    margin-bottom: 20px;
}

.footer-nav ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-nav a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.2s;
}

.footer-nav a:hover {
    color: var(--white);
}

.footer-contact p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.8;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.2s;
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 24px 0;
}

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

/* ============================================
   Scroll Animations (progressive enhancement)
   ============================================ */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
    }

    .reveal[data-reveal] {
        opacity: 0;
        transform: translateY(24px);
    }

    .reveal[data-reveal].revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 1024px) {
    .hero-inner {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .hero-image-grid {
        max-height: 400px;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 1fr;
    }

    .about-grid,
    .visit-content,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

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

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

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(250, 250, 248, 0.98);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        flex-direction: column;
        align-items: center;
        gap: 0;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s var(--ease-out), padding 0.4s var(--ease-out);
        border-bottom: 1px solid transparent;
    }

    .nav-links.open {
        max-height: 300px;
        padding: 24px 0;
        border-bottom-color: var(--border);
    }

    .nav-links li {
        padding: 12px 0;
    }

    .nav-links a {
        font-size: 14px;
    }

    .nav-toggle {
        display: flex;
    }

    .hero {
        min-height: auto;
        padding: 120px 0 80px;
    }

    .hero-stats {
        flex-direction: column;
        gap: 12px;
    }

    .stat-card {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 16px 20px;
        text-align: left;
    }

    .hero-image-grid {
        grid-template-columns: 1fr;
        grid-template-rows: 1fr 1fr;
        max-height: 500px;
    }

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

    .collection-card-image {
        height: 240px;
    }

    .contact-form-wrap {
        padding: 28px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 20px;
    }

    .nav-inner {
        padding: 0 20px;
    }

    .hero-headline {
        font-size: clamp(2rem, 8vw, 2.8rem);
    }

    .section-title {
        font-size: clamp(1.75rem, 6vw, 2.25rem);
    }

    .about,
    .collection,
    .visit,
    .contact {
        padding: 80px 0;
    }
}
