/* ============================================
   NUSANTARA ARTS — Private Gallery Aesthetic
   Dark, minimal, image-forward, enquire-only
   ============================================ */

:root {
    --bg: #0a0a0a;
    --bg-card: #111111;
    --text: #d4d0c8;
    --text-muted: #8a8578;
    --text-heading: #e8e4da;
    --accent: #c4a87c;
    --accent-hover: #d4bc94;
    --border: #1e1e1e;
    --serif: 'Cormorant Garamond', 'Georgia', serif;
    --sans: 'Inter', 'Helvetica Neue', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg);
    color: var(--text);
    font-family: var(--sans);
    font-weight: 300;
    font-size: 15px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

/* — NAV — */

header {
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 100;
    background: transparent;
    border-bottom: none;
}

nav {
    max-width: 100%;
    margin: 0;
    padding: 16px 48px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo-img {
    height: 81px;
    width: auto;
    opacity: 0.85;
}

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

.nav-links a {
    font-family: var(--sans);
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #333333;
    text-decoration: none;
    transition: color 0.3s;
}

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

.nav-dropdown {
    position: relative;
    display: flex;
    align-items: center;
}

.nav-dropdown > a {
    cursor: pointer;
}

.nav-dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 8px;
    background: #0a0a0a;
    border: 1px solid #1e1e1e;
    padding: 8px 0;
    min-width: 160px;
    z-index: 100;
}

.nav-dropdown:hover .nav-dropdown-menu {
    display: block;
}

.nav-dropdown-menu a {
    display: block;
    padding: 8px 20px;
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #8a8578;
    text-decoration: none;
    transition: color 0.2s;
}

.nav-dropdown-menu a:hover {
    color: var(--accent);
}

/* — HERO — */

.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
    filter: grayscale(100%);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: rgba(0, 0, 0, 0.3);
}

.hero-bottom-logo {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    height: 97px;
    width: auto;
    opacity: 0.7;
    z-index: 10;
}

.hero h1 {
    font-family: var(--serif);
    font-size: clamp(28px, 5vw, 52px);
    font-weight: 500;
    color: #c0c0c0;
    line-height: 1.15;
    letter-spacing: 8px;
    margin-bottom: 20px;
}

.hero-sub {
    font-family: var(--sans);
    font-size: 13px;
    font-weight: 300;
    color: rgba(192, 192, 192, 0.7);
    letter-spacing: 3px;
    text-transform: uppercase;
}

/* — COLLECTION — */

.collection {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 40px 120px;
}

.collection h2 {
    font-family: var(--serif);
    font-size: 32px;
    font-weight: 400;
    color: var(--text-heading);
    margin-bottom: 16px;
}

.section-intro {
    color: var(--text-muted);
    font-size: 14px;
    max-width: 600px;
    margin-bottom: 60px;
    line-height: 1.8;
}

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

.piece {
    background: var(--bg-card);
    border: 1px solid var(--border);
    overflow: hidden;
    transition: border-color 0.3s;
}

.piece:hover {
    border-color: #2a2a2a;
}

.piece-image {
    width: 100%;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background: #0d0d0d;
}

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

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

.piece-info {
    padding: 24px 28px 28px;
}

.piece-info h3 {
    font-family: var(--serif);
    font-size: 20px;
    font-weight: 500;
    color: var(--text-heading);
    margin-bottom: 8px;
}

.piece-detail {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 20px;
}

.piece-placed {
    font-family: var(--sans);
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 0;
}

.enquire {
    font-family: var(--sans);
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--accent);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    padding-bottom: 2px;
    transition: border-color 0.3s;
}

.enquire:hover {
    border-bottom-color: var(--accent);
}

/* — ABOUT — */

.about {
    border-top: 1px solid var(--border);
    padding: 120px 40px;
}

.about-content {
    max-width: 640px;
    margin: 0 auto;
}

.about h2 {
    font-family: var(--serif);
    font-size: 32px;
    font-weight: 400;
    color: var(--text-heading);
    margin-bottom: 32px;
}

.about p {
    font-size: 15px;
    line-height: 1.9;
    color: var(--text);
    margin-bottom: 20px;
}

.about p:last-child {
    margin-bottom: 0;
}

/* — CONTACT — */

.contact {
    border-top: 1px solid var(--border);
    padding: 120px 40px;
    text-align: center;
}

.contact h2 {
    font-family: var(--serif);
    font-size: 32px;
    font-weight: 400;
    color: var(--text-heading);
    margin-bottom: 16px;
}

.contact > p {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 24px;
}

.contact-email a {
    font-family: var(--serif);
    font-size: 24px;
    color: var(--accent);
    text-decoration: none;
    transition: color 0.3s;
}

.contact-email a:hover {
    color: var(--accent-hover);
}

.contact-social {
    margin-top: 20px;
}

.contact-social a {
    font-size: 12px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s;
}

.contact-social a:hover {
    color: var(--accent);
}

/* — FOOTER — */

footer {
    border-top: 1px solid var(--border);
    padding: 60px 40px 40px;
    text-align: center;
}

.footer-logo {
    height: 54px;
    width: auto;
    opacity: 0.6;
    margin-bottom: 20px;
}

footer p {
    font-size: 11px;
    color: var(--text-muted);
    letter-spacing: 1px;
}

/* — RESPONSIVE — */

@media (max-width: 768px) {
    nav {
        padding: 16px 24px;
    }

    .logo {
        font-size: 18px;
    }

    .nav-links {
        gap: 24px;
    }

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

    .hero {
        min-height: 60vh;
        padding: 100px 24px 60px;
    }

    .collection {
        padding: 60px 24px 80px;
    }

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

    .about {
        padding: 80px 24px;
    }

    .contact {
        padding: 80px 24px;
    }
}

@media (max-width: 480px) {
    .nav-links {
        gap: 16px;
    }

    .hero h1 {
        font-size: 28px;
    }

    .piece-info {
        padding: 20px;
    }
}
