/* ============================================================
   MOX3D — Professional 3D Models
   Single-page static site
   ============================================================ */

:root {
    --bg-deep: #0c0a14;
    --bg-card: #1a1623;
    --bg-elevated: #221c2e;
    --border: #2e2640;
    --text-primary: #f4f1ea;
    --text-secondary: #b8b0c6;
    --text-muted: #756d8a;
    --accent-gold: #d4a857;
    --accent-gold-bright: #f0c87a;
    --accent-purple: #8b6dc4;
    --shadow-soft: 0 4px 24px rgba(0, 0, 0, 0.4);
    --shadow-strong: 0 12px 48px rgba(0, 0, 0, 0.6);
    --transition: 0.25s ease;
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    background: var(--bg-deep);
    color: var(--text-primary);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 300;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    color: var(--accent-gold);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--accent-gold-bright);
}

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

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(12, 10, 20, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 24px;
}

.brand {
    font-family: 'Cinzel', serif;
    font-weight: 900;
    font-size: 1.4rem;
    letter-spacing: 0.15em;
    color: var(--text-primary);
    text-decoration: none;
}

.brand-accent {
    color: var(--accent-gold);
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    color: var(--text-secondary);
    font-weight: 400;
    font-size: 0.95rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

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

/* ============================================================
   HERO
   ============================================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 80px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: contain;
    background-position: center right;
    background-repeat: no-repeat;
    opacity: 0.85;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        110deg,
        var(--bg-deep) 0%,
        rgba(12, 10, 20, 0.95) 30%,
        rgba(12, 10, 20, 0.6) 60%,
        rgba(12, 10, 20, 0.2) 100%
    );
}

.hero-fade {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(to bottom, transparent, var(--bg-deep));
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
}

.hero-title {
    font-family: 'Cinzel', serif;
    font-weight: 900;
    font-size: clamp(2.8rem, 7vw, 5.5rem);
    line-height: 1.05;
    margin-bottom: 28px;
    letter-spacing: -0.01em;
}

.hero-title-line {
    display: block;
}

.hero-title-accent {
    color: var(--accent-gold);
    font-style: italic;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    color: var(--text-secondary);
    margin-bottom: 44px;
    max-width: 540px;
    font-weight: 300;
}

.hero-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
    display: inline-block;
    padding: 14px 32px;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 2px;
    transition: all var(--transition);
    cursor: pointer;
    border: 1px solid transparent;
}

.btn-primary {
    background: var(--accent-gold);
    color: var(--bg-deep);
    border-color: var(--accent-gold);
}

.btn-primary:hover {
    background: var(--accent-gold-bright);
    border-color: var(--accent-gold-bright);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(212, 168, 87, 0.3);
}

.btn-ghost {
    background: transparent;
    color: var(--text-primary);
    border-color: var(--border);
}

.btn-ghost:hover {
    border-color: var(--accent-gold);
    color: var(--accent-gold);
}

/* ============================================================
   SECTION HEADERS
   ============================================================ */
.section-header {
    text-align: center;
    margin-bottom: 56px;
}

.section-header h2 {
    font-family: 'Cinzel', serif;
    font-weight: 700;
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--text-primary);
    margin-bottom: 12px;
    letter-spacing: 0.02em;
}

.section-sub {
    color: var(--text-secondary);
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 auto;
}

/* ============================================================
   FEATURED GALLERY
   ============================================================ */
.featured {
    padding: 100px 0;
    background: var(--bg-deep);
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.gallery-item {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 4px;
    overflow: hidden;
    transition: all var(--transition);
    aspect-ratio: 4 / 5;
}

.gallery-item:hover {
    transform: translateY(-4px);
    border-color: var(--accent-gold);
    box-shadow: var(--shadow-strong);
}

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

.gallery-item:hover img {
    transform: scale(1.04);
}

.gallery-item figcaption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px 20px 18px;
    background: linear-gradient(to top, rgba(12, 10, 20, 0.95) 0%, rgba(12, 10, 20, 0.7) 60%, transparent 100%);
}

.gallery-item h3 {
    font-family: 'Cinzel', serif;
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--text-primary);
    margin-bottom: 4px;
    letter-spacing: 0.03em;
}

.gallery-item p {
    color: var(--accent-gold);
    font-size: 0.85rem;
    font-style: italic;
    margin: 0;
}

/* ============================================================
   SHOP / STOREFRONTS
   ============================================================ */
.shop {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--bg-deep) 0%, #110e1c 100%);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.store-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 32px;
    max-width: 900px;
    margin: 0 auto;
}

.store-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 36px 32px;
    text-decoration: none;
    color: var(--text-primary);
    transition: all var(--transition);
    display: block;
}

.store-card:hover {
    border-color: var(--accent-gold);
    background: var(--bg-elevated);
    transform: translateY(-4px);
    box-shadow: var(--shadow-strong);
}

.store-card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 8px;
}

.store-icon {
    font-size: 2rem;
    color: var(--accent-gold);
    line-height: 1;
}

.store-card h3 {
    font-family: 'Cinzel', serif;
    font-weight: 700;
    font-size: 1.7rem;
    color: var(--text-primary);
    margin: 0;
    letter-spacing: 0.03em;
}

.store-tagline {
    color: var(--accent-gold);
    font-size: 0.9rem;
    font-style: italic;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 18px;
}

.store-desc {
    color: var(--text-secondary);
    font-size: 0.98rem;
    line-height: 1.7;
    margin-bottom: 24px;
}

.store-link {
    color: var(--accent-gold);
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.store-card:hover .store-link {
    color: var(--accent-gold-bright);
}

/* ============================================================
   ABOUT
   ============================================================ */
.about {
    padding: 100px 0;
    background: var(--bg-deep);
}

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

.about-text h2 {
    font-family: 'Cinzel', serif;
    font-weight: 700;
    font-size: clamp(2rem, 4vw, 2.8rem);
    color: var(--text-primary);
    margin-bottom: 28px;
    letter-spacing: 0.02em;
}

.about-text p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-tagline {
    color: var(--accent-gold) !important;
    font-style: italic;
    font-size: 1.2rem !important;
    margin-top: 32px !important;
    font-family: 'Cinzel', serif;
    letter-spacing: 0.03em;
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.stat {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 28px 20px;
    text-align: center;
    transition: all var(--transition);
}

.stat:hover {
    border-color: var(--accent-gold);
    background: var(--bg-elevated);
}

.stat-number {
    display: block;
    font-family: 'Cinzel', serif;
    font-weight: 900;
    font-size: 2.4rem;
    color: var(--accent-gold);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    display: block;
    color: var(--text-secondary);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
    background: #08070f;
    border-top: 1px solid var(--border);
    padding: 56px 0 24px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 40px;
}

.footer-brand .brand {
    font-size: 1.6rem;
    margin-bottom: 8px;
    display: block;
}

.footer-tagline {
    color: var(--text-muted);
    font-style: italic;
    font-size: 0.95rem;
}

.footer-links h4 {
    font-family: 'Cinzel', serif;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 16px;
}

.footer-links a {
    display: block;
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 8px;
}

.footer-links a:hover {
    color: var(--accent-gold);
}

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
    .nav-links {
        gap: 18px;
    }

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

    .hero-bg {
        opacity: 0.45;
        background-position: center center;
        background-size: cover;
    }

    .hero-overlay {
        background: linear-gradient(
            180deg,
            rgba(12, 10, 20, 0.7) 0%,
            rgba(12, 10, 20, 0.85) 100%
        );
    }

    .hero-cta {
        flex-direction: column;
        align-items: stretch;
    }

    .btn {
        text-align: center;
    }

    .featured,
    .shop,
    .about {
        padding: 60px 0;
    }

    .gallery {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 16px;
    }

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

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

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

    .nav-wrapper {
        padding: 14px 16px;
    }

    .gallery {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .gallery-item h3 {
        font-size: 1rem;
    }

    .gallery-item p {
        font-size: 0.75rem;
    }
}
