/*
Theme Name: Arturex Modern Luxury
Theme URI: https://arturex.net/
Author: Jeffrey Heering Studio
Author URI: https://arturex.net/
Description: Ultra-premium dark obsidian & gold modern WordPress theme for Arturex Natural Stone Sculptures. Hand-carved by 35 master craftsmen in Central Java, Indonesia.
Version: 3.0.0
License: Proprietary
*/

:root {
  --bg-dark: #0b0c10;
  --bg-surface: #12141a;
  --bg-surface-elevated: #1a1d26;
  --accent-gold: #d4af37;
  --accent-bronze: #c5a059;
  --accent-stone: #9a8c7d;
  --text-primary: #f0f0f0;
  --text-secondary: #aaaaaa;
  --text-muted: #777777;
  --border-subtle: rgba(197, 160, 89, 0.2);
  --border-medium: rgba(197, 160, 89, 0.4);
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --max-width: 1280px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--bg-dark);
  color: var(--text-primary);
  font-family: var(--font-sans);
}

body {
  background-color: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Site Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(11, 12, 16, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 0.8rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
}

.brand-logo img {
  height: 44px !important;
  max-height: 44px !important;
  width: auto !important;
  object-fit: contain;
  border-radius: 4px;
}

.brand-title {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--text-primary);
  display: block;
}

.brand-sub {
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  color: var(--accent-bronze);
  text-transform: uppercase;
  display: block;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  transition: color 0.3s ease;
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.6rem;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-bronze), var(--accent-gold));
  color: #000;
  border: none;
  box-shadow: 0 4px 15px rgba(197, 160, 89, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(197, 160, 89, 0.5);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-medium);
}

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

/* Layout Sections */
.section {
  padding: 5rem 2rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-tag {
  color: var(--accent-bronze);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  display: block;
  margin-bottom: 0.5rem;
}

.section-title {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  margin-bottom: 1rem;
}

/* Hero Section */
.hero-section {
  padding: 6rem 2rem;
  text-align: center;
  background: radial-gradient(circle at center, rgba(197, 160, 89, 0.08) 0%, transparent 70%);
}

.hero-title {
  font-family: var(--font-serif);
  font-size: 3.5rem;
  line-height: 1.15;
  margin: 1.5rem 0;
  font-weight: 300;
}

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

.hero-subtitle {
  max-width: 720px;
  margin: 0 auto 2.5rem;
  color: var(--text-secondary);
  font-size: 1.1rem;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

/* Statue Cards Container with 140% Aspect Ratio */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 2.5rem;
}

.sculpture-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.sculpture-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent-bronze);
}

.card-img-wrapper {
  position: relative;
  width: 100%;
  padding-top: 140%;
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.05) 0%, #0d0e12 100%);
  overflow: hidden;
}

.card-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 1.5rem;
  transition: transform 0.5s ease;
}

.sculpture-card:hover .card-img {
  transform: scale(1.04);
}

.card-content {
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-grow: 1;
}

.card-material {
  font-size: 0.75rem;
  color: var(--accent-bronze);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.card-title {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  margin: 0.4rem 0 0.6rem;
}

.card-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 1.2rem;
  line-height: 1.6;
}

.card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
}

.edition-badge {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Modal Overlay */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: none;
  justify-content: center;
  align-items: center;
  padding: 1.5rem;
}

.modal-overlay.active {
  display: flex;
}

.modal-content {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  max-width: 580px;
  width: 100%;
  padding: 2.5rem;
  position: relative;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
}

.modal-close {
  position: absolute;
  top: 1.2rem;
  right: 1.5rem;
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-size: 1.8rem;
  cursor: pointer;
}

.modal-close:hover {
  color: var(--text-primary);
}

/* Verification Card */
.verification-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 3.5rem 2rem;
  text-align: center;
}

.verify-input-group {
  display: flex;
  max-width: 480px;
  margin: 2rem auto 0;
  gap: 0.8rem;
}

.verify-input {
  flex-grow: 1;
  background: var(--bg-dark);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 0.8rem 1.2rem;
  color: var(--text-primary);
  font-size: 1rem;
  outline: none;
}

.verify-input:focus {
  border-color: var(--accent-bronze);
}

/* ==========================================================================
   RESPONSIVE DESIGN (PC, Tablet & Telefoon)
   ========================================================================== */

/* 1. Globale Box-Sizing & Afbeeldingen */
*, *::before, *::after {
    box-sizing: border-box;
}

html, body {
    overflow-x: hidden; /* Voorkomt horizontaal scrollen op smalle schermen */
    width: 100%;
}

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

/* 2. Flexibele Lay-out (Grid & Flexbox) */
.site-header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    gap: 1rem;
}

.nav-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    padding: 0;
    margin: 0;
    list-style: none;
}

.gallery-grid {
    display: grid;
    /* Op PC 3 kolommen, op tablet 2, op mobiel 1. Minimaal 300px breed per stuk */
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    width: 100%;
}

.sculpture-card {
    display: flex;
    flex-direction: column;
    width: 100%;
}

/* 3. Media Queries voor Tablet & Mobiel (Schermen kleiner dan 900px) */
@media screen and (max-width: 900px) {
    .site-header {
        flex-direction: column;
        text-align: center;
    }

    .hero-title {
        font-size: clamp(2rem, 6vw, 3.5rem); /* Zorgt dat de grote tekst schaalt */
    }

    .hero-subtitle {
        font-size: 1rem;
        padding: 0 1rem;
    }

    /* Knoppen in de hero sectie onder elkaar op mobiel */
    .hero-actions {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    /* Zorg dat de secties op mobiel niet te veel lege ruimte (padding) hebben */
    .section, footer {
        padding-left: 1.5rem !important;
        padding-right: 1.5rem !important;
    }
}

/* 4. Media Queries voor Alleen Mobiel (Schermen kleiner dan 600px) */
@media screen and (max-width: 600px) {
    .nav-links {
        flex-direction: column; /* Navigatie netjes onder elkaar */
        align-items: center;
        gap: 0.5rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    /* Verificatie input veld en knop onder elkaar */
    .verify-input-group {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    .verify-input, #verify-btn {
        width: 100%;
    }
}