/* ========================================
   Dark Horse Antique Market — Styles
   Premium Dark Luxury | Plum + Amber
   ======================================== */

/* --- Reset & Base --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Plum palette */
    --plum-50: #f5f0f6;
    --plum-100: #ebe0ee;
    --plum-200: #d4b8d8;
    --plum-300: #b88abf;
    --plum-400: #9e62a4;
    --plum-500: #7d3c80;
    --plum-600: #6b2d6b;
    --plum-700: #562256;
    --plum-800: #3d183d;
    --plum-900: #2D1B2E;
    --plum-950: #1a0e1b;

    /* Amber palette */
    --amber-50: #fffbe6;
    --amber-100: #fff3bf;
    --amber-200: #ffe680;
    --amber-300: #ffd74d;
    --amber-400: #ffc107;
    --amber-500: #e6a800;
    --amber-600: #c5a059;
    --amber-700: #a07d3a;
    --amber-800: #7a5c22;
    --amber-900: #523c10;

    /* Neutrals */
    --white: #ffffff;
    --off-white: #f8f4f0;
    --gray-100: #e8e4e0;
    --gray-200: #d1cdc8;
    --gray-300: #a8a29e;
    --gray-400: #78716c;
    --gray-500: #57534e;
    --gray-600: #44403c;
    --gray-700: #292524;
    --gray-800: #1c1917;
    --gray-900: #0c0a09;

    /* Typography */
    --font-display: 'Cinzel', Georgia, serif;
    --font-body: 'Lato', 'Segoe UI', sans-serif;

    /* Spacing */
    --section-padding: clamp(60px, 10vw, 120px) 0;
    --container-max: 1200px;
    --container-padding: clamp(16px, 4vw, 40px);
}

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

body {
    font-family: var(--font-body);
    color: var(--gray-200);
    background-color: var(--plum-950);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

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

/* --- Section Labels & Titles --- */
.section-label {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--amber-600);
    margin-bottom: 12px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 600;
    color: var(--amber-50);
    line-height: 1.2;
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--plum-200);
    max-width: 600px;
    line-height: 1.7;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: 4px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, var(--amber-600), var(--amber-500));
    color: var(--plum-950);
    border-color: var(--amber-500);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--amber-500), var(--amber-400));
    border-color: var(--amber-400);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(197, 160, 89, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--amber-50);
    border-color: var(--amber-600);
}

.btn-secondary:hover {
    background: rgba(197, 160, 89, 0.1);
    border-color: var(--amber-50);
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
}

/* --- Navigation --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.4s ease;
    background: transparent;
}

.navbar.scrolled {
    background: rgba(26, 14, 27, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 12px 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1;
}

.logo-text {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--amber-500);
    letter-spacing: 0.05em;
}

.logo-sub {
    font-family: var(--font-body);
    font-size: 0.65rem;
    font-weight: 400;
    color: var(--plum-200);
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    gap: 36px;
    align-items: center;
}

.nav-links a {
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--plum-100);
    position: relative;
    padding-bottom: 4px;
}

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

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

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

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

.mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--amber-500);
    transition: all 0.3s ease;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999;
    background: rgba(26, 14, 27, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile-close {
    position: absolute;
    top: 24px;
    right: 24px;
    background: none;
    border: none;
    color: var(--amber-500);
    font-size: 2.5rem;
    cursor: pointer;
    line-height: 1;
    padding: 8px;
}

.mobile-menu ul {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

.mobile-menu .mobile-link {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--plum-100);
    letter-spacing: 0.05em;
    transition: color 0.3s ease;
}

.mobile-menu .mobile-link:hover {
    color: var(--amber-500);
}

/* --- Hero Section --- */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: 
        linear-gradient(135deg, rgba(26, 14, 27, 0.88) 0%, rgba(45, 27, 46, 0.75) 50%, rgba(26, 14, 27, 0.88) 100%),
        url('https://images.pexels.com/photos/5531709/pexels-photo-5531709.jpeg?auto=compress&cs=tinysrgb&fit=crop&w=1920&h=1080') center center / cover no-repeat;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse at 20% 80%, rgba(125, 60, 128, 0.2) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 20%, rgba(197, 160, 89, 0.08) 0%, transparent 50%),
        linear-gradient(180deg, transparent 60%, var(--plum-950) 100%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: 0 24px;
}

.hero-eyebrow {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--amber-600);
    margin-bottom: 20px;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    color: var(--amber-50);
    line-height: 1.1;
    margin-bottom: 24px;
    text-shadow: 0 2px 40px rgba(0, 0, 0, 0.5);
}

.hero-title br {
    display: none;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--plum-200);
    max-width: 560px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--plum-300);
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    animation: float 2s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

/* --- About Section --- */
.about {
    padding: var(--section-padding);
    background: var(--plum-950);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(40px, 6vw, 80px);
    align-items: center;
}

.about-image-wrapper {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
}

.about-image-wrapper::before {
    content: '';
    position: absolute;
    top: -12px;
    left: -12px;
    right: 12px;
    bottom: 12px;
    border: 1px solid var(--amber-600);
    border-radius: 8px;
    z-index: -1;
    opacity: 0.4;
}

.about-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.about-content {
    padding: 20px 0;
}

.about-text {
    color: var(--plum-200);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-features {
    display: flex;
    gap: 32px;
    margin-top: 36px;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--amber-500);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.05em;
}

.feature-icon {
    flex-shrink: 0;
}

/* --- Collection Section --- */
.collection {
    padding: var(--section-padding);
    background: linear-gradient(180deg, var(--plum-900) 0%, var(--plum-950) 100%);
}

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

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

.collection-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.collection-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    display: block;
    group: true;
}

.card-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 5/4;
}

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

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

.card-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(26, 14, 27, 0.85) 100%);
    transition: background 0.3s ease;
}

.collection-card:hover .card-image::after {
    background: linear-gradient(180deg, transparent 30%, rgba(26, 14, 27, 0.92) 100%);
}

.card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 28px;
    z-index: 2;
}

.card-title {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--amber-50);
    margin-bottom: 8px;
}

.card-desc {
    font-size: 0.9rem;
    color: var(--plum-200);
    line-height: 1.6;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.collection-card:hover .card-desc {
    opacity: 1;
    transform: translateY(0);
}

.collection-note {
    text-align: center;
    color: var(--plum-300);
    font-size: 0.9rem;
    font-style: italic;
}

/* --- Visit Section --- */
.visit {
    padding: var(--section-padding);
    background: var(--plum-950);
}

.visit-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(40px, 6vw, 80px);
    align-items: start;
}

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

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

.detail-icon {
    flex-shrink: 0;
    color: var(--amber-600);
    margin-top: 2px;
}

.detail-item strong {
    display: block;
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    color: var(--amber-500);
    margin-bottom: 4px;
}

.detail-item p {
    color: var(--plum-200);
    font-size: 0.95rem;
    line-height: 1.6;
}

.visit-map {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(197, 160, 89, 0.2);
}

.visit-map iframe {
    width: 100%;
    height: 400px;
    display: block;
}

/* --- Contact Section --- */
.contact {
    padding: var(--section-padding);
    background: linear-gradient(180deg, var(--plum-950) 0%, var(--plum-900) 100%);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(40px, 6vw, 80px);
    align-items: start;
}

.contact-text {
    color: var(--plum-200);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 32px;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--amber-500);
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

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

.contact-method svg {
    flex-shrink: 0;
}

/* Contact Form */
.contact-form-wrapper {
    background: rgba(45, 27, 46, 0.5);
    border: 1px solid rgba(197, 160, 89, 0.15);
    border-radius: 8px;
    padding: clamp(24px, 4vw, 40px);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--amber-600);
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--amber-50);
    background: rgba(26, 14, 27, 0.6);
    border: 1px solid rgba(197, 160, 89, 0.2);
    border-radius: 4px;
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--plum-300);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--amber-600);
    box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.1);
}

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

.form-success {
    margin-top: 16px;
    padding: 16px;
    background: rgba(197, 160, 89, 0.1);
    border: 1px solid rgba(197, 160, 89, 0.3);
    border-radius: 4px;
    color: var(--amber-400);
    font-size: 0.9rem;
    text-align: center;
}

/* --- Footer --- */
.footer {
    padding: 60px 0 0;
    background: var(--plum-950);
    border-top: 1px solid rgba(197, 160, 89, 0.1);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: clamp(32px, 4vw, 60px);
    padding-bottom: 48px;
}

.footer-brand p {
    color: var(--plum-300);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-top: 16px;
    max-width: 300px;
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--amber-500);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: var(--plum-200);
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

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

.footer-contact p {
    color: var(--plum-200);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 4px;
}

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

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

.footer-bottom {
    border-top: 1px solid rgba(197, 160, 89, 0.08);
    padding: 24px 0;
    text-align: center;
}

.footer-bottom p {
    color: var(--plum-300);
    font-size: 0.8rem;
    letter-spacing: 0.05em;
}

/* --- Scroll Reveal Animations --- */
.reveal {
    opacity: 1;
    transform: none;
    transition: opacity 0.7s ease, transform 0.7s ease;
}

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

@media (prefers-reduced-motion: no-preference) {
    .reveal[data-reveal] {
        opacity: 0;
        transform: translateY(30px);
    }
    
    .reveal.visible[data-reveal] {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .about-grid,
    .visit-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .about-image-wrapper {
        max-width: 500px;
    }

    .about-image-wrapper::before {
        display: none;
    }

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

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

    .mobile-toggle {
        display: flex;
    }

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

    .hero-title br {
        display: block;
    }

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

    .btn {
        width: 100%;
        max-width: 280px;
    }

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

    .card-desc {
        opacity: 1;
        transform: none;
    }

    .visit-map iframe {
        height: 280px;
    }

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

    .footer-bottom {
        padding: 20px 0;
    }
}

@media (max-width: 480px) {
    .about-features {
        flex-direction: column;
        gap: 16px;
    }

    .contact-form-wrapper {
        padding: 20px;
    }
}
