/* ==========================================================================
   NEREARTE • NEREA - MAIN DESIGN SYSTEM & STYLES
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,400&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

:root {
  /* Color Palette - Museum Luxury & Deep Material Dark */
  --bg-main: #0c0d0f;
  --bg-surface: #14161a;
  --bg-card: #1a1d24;
  --bg-card-hover: #222630;
  --bg-glass: rgba(20, 22, 26, 0.75);
  
  --text-primary: #f5f4f0;
  --text-secondary: #a7a9b4;
  --text-muted: #6e707c;
  
  --accent-gold: #d4af37;
  --accent-gold-light: #f5df88;
  --accent-gold-glow: rgba(212, 175, 55, 0.25);
  --accent-bone: #f8f6f0;
  --accent-copper: #c87d55;
  
  --status-available: #10b981;
  --status-reserved: #f59e0b;
  --status-sold: #6b7280;
  
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-accent: rgba(212, 175, 55, 0.35);
  
  /* Typography */
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  
  /* Transitions & Shadows */
  --ease-gallery: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-artwork: 0 20px 40px -15px rgba(0, 0, 0, 0.7), 0 0 20px rgba(0,0,0,0.4);
  --shadow-glow: 0 0 50px rgba(212, 175, 55, 0.12);
  --radius-sm: 4px;
  --radius-md: 10px;
  --radius-lg: 18px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-main);
  color: var(--text-primary);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  color-scheme: dark;
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
}

select, input, textarea {
  color-scheme: dark;
}

select option {
  background-color: #1a1d24 !important;
  color: #f5f4f0 !important;
  padding: 8px 12px;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
  line-height: 1.6;
  position: relative;
  background: radial-gradient(circle at 50% 0%, #171b22 0%, var(--bg-main) 70%);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-main);
}
::-webkit-scrollbar-thumb {
  background: #2a2d36;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-gold);
}

/* Layout Utilities */
.container {
  max-width: 1360px;
  width: 100%;
  margin: 0 auto;
  padding: 0 2rem;
}

@media (max-width: 768px) {
  .container {
    padding: 0 1.25rem;
  }
}

/* Typography Classes */
h1, h2, h3, h4, .font-serif {
  font-family: var(--font-serif);
  font-weight: 400;
  letter-spacing: 0.02em;
}

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

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  max-width: 100vw;
  z-index: 1000;
  padding: 1.1rem 0;
  transition: all 0.4s var(--ease-gallery);
  background: rgba(12, 13, 15, 0.65);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.site-header.scrolled {
  padding: 0.75rem 0;
  background: rgba(12, 13, 15, 0.95);
  border-bottom: 1px solid var(--border-subtle);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 2rem;
  width: 100%;
}

.brand-logo {
  justify-self: start;
  text-decoration: none;
  color: var(--text-primary);
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 400;
  line-height: 1.1;
  color: var(--accent-bone);
}

.brand-sub {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: var(--accent-gold);
  margin-top: 2px;
}

.nav-menu {
  justify-self: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.6rem;
  list-style: none;
  margin: 0 auto;
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.88rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
  transition: color 0.3s;
  position: relative;
  padding: 0.25rem 0;
  white-space: nowrap;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent-gold);
  transition: width 0.3s var(--ease-gallery);
}

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

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

.header-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

/* Currency Switcher Pill */
.currency-selector {
  display: inline-flex;
  background: rgba(255, 255, 255, 0.06);
  padding: 3px;
  border-radius: 30px;
  border: 1px solid var(--border-subtle);
}

.currency-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.25s;
}

.currency-btn.active {
  background: var(--accent-gold);
  color: #0c0d0f;
  box-shadow: 0 2px 8px rgba(212, 175, 55, 0.3);
}

.btn-header-cta {
  background: transparent;
  border: 1px solid var(--border-accent);
  color: var(--accent-bone);
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
  white-space: nowrap;
}

.btn-header-cta:hover {
  background: var(--accent-gold);
  color: #0c0d0f;
  border-color: var(--accent-gold);
  box-shadow: 0 0 20px var(--accent-gold-glow);
}

/* Mobile Menu Toggle */
.mobile-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  font-size: 1.35rem;
  cursor: pointer;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: all 0.25s;
}

.mobile-toggle:hover, .mobile-toggle:active {
  background: rgba(212, 175, 55, 0.15);
  color: var(--accent-gold);
  border-color: var(--accent-gold);
}

@media (max-width: 900px) {
  .header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
  }
  .brand-logo {
    min-width: 0;
    flex-shrink: 1;
  }
  .brand-name {
    font-size: 1.45rem;
    letter-spacing: 0.12em;
  }
  .brand-sub {
    font-size: 0.58rem;
    letter-spacing: 0.18em;
  }
  .header-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
  }
  .mobile-toggle {
    display: flex;
  }
  .btn-header-cta {
    display: none;
  }
  .nav-menu {
    display: none;
    position: fixed;
    top: 66px;
    left: 0;
    width: 100%;
    height: calc(100vh - 66px);
    background: rgba(12, 13, 15, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: 2.5rem 1.5rem;
    gap: 1.8rem;
    border-bottom: 1px solid var(--border-subtle);
    z-index: 999;
    overflow-y: auto;
  }
  .nav-menu.mobile-open {
    display: flex !important;
  }
  .nav-menu .nav-link {
    font-size: 1.15rem;
    letter-spacing: 0.12em;
    padding: 0.6rem 1rem;
    color: var(--text-primary);
  }
}

@media (max-width: 480px) {
  .brand-name {
    font-size: 1.25rem;
    letter-spacing: 0.1em;
  }
  .brand-sub {
    font-size: 0.52rem;
    letter-spacing: 0.14em;
  }
}

/* ==========================================================================
   HERO SECTION - CINEMATIC GALLERY ENTRY
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding-top: 5rem;
  overflow: hidden;
}

.hero-ambient-spotlight {
  position: absolute;
  top: -15%;
  right: 10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.12) 0%, rgba(29, 61, 99, 0.08) 50%, transparent 70%);
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--accent-gold);
  margin-bottom: 1.25rem;
  background: rgba(212, 175, 55, 0.08);
  padding: 0.4rem 1rem;
  border-radius: 30px;
  border: 1px solid rgba(212, 175, 55, 0.2);
}

.hero-tag .dot {
  width: 6px;
  height: 6px;
  background: var(--accent-gold);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent-gold);
  animation: pulseDot 2s infinite ease-in-out;
}

@keyframes pulseDot {
  0%, 100% { opacity: 0.4; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1.3); }
}

.hero-title {
  font-size: 4rem;
  line-height: 1.05;
  color: var(--accent-bone);
  margin-bottom: 1.5rem;
  font-weight: 300;
}

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

.hero-lead {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 520px;
  line-height: 1.75;
  margin-bottom: 2.5rem;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--accent-gold);
  color: #0c0d0f;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 1rem 2rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  border: 1px solid var(--accent-gold);
  cursor: pointer;
  transition: all 0.3s var(--ease-gallery);
  box-shadow: 0 4px 20px rgba(212, 175, 55, 0.25);
}

.btn-primary:hover {
  background: #e2bd46;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(212, 175, 55, 0.4);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.04);
  color: var(--accent-bone);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 1rem 1.75rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  border: 1px solid var(--border-subtle);
  cursor: pointer;
  transition: all 0.3s;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
}

/* Hero Featured Artwork Showcase Card */
.hero-artwork-frame {
  position: relative;
  display: flex;
  justify-content: center;
}

.artwork-card-spotlight {
  position: relative;
  background: var(--bg-surface);
  padding: 1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-artwork);
  transition: transform 0.5s var(--ease-gallery);
  max-width: 460px;
  width: 100%;
}

.artwork-card-spotlight:hover {
  transform: translateY(-6px) scale(1.01);
}

.artwork-card-spotlight img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  display: block;
}

.artwork-card-meta {
  margin-top: 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.artwork-card-meta h3 {
  font-size: 1.4rem;
  color: var(--accent-bone);
}

.artwork-card-meta p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.artwork-card-meta .price {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--accent-gold);
  font-weight: 600;
}

.hero-quick-tag {
  position: absolute;
  top: 2rem;
  left: 2rem;
  background: rgba(12, 13, 15, 0.85);
  backdrop-filter: blur(10px);
  padding: 0.4rem 0.9rem;
  border-radius: 20px;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-gold);
  border: 1px solid var(--border-accent);
}

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
    padding-bottom: 3rem;
  }
  .hero-title {
    font-size: 3rem;
  }
  .artwork-card-spotlight img {
    height: 380px;
  }
}

@media (max-width: 600px) {
  .hero-section {
    padding-top: 5.5rem;
    min-height: auto;
    overflow: hidden;
  }
  .hero-title {
    font-size: 2.2rem;
    line-height: 1.15;
  }
  .hero-tag {
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    padding: 0.35rem 0.75rem;
    max-width: 100%;
    white-space: normal;
  }
  .hero-lead {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 2rem;
  }
  .hero-cta-group {
    flex-direction: column;
    width: 100%;
    gap: 0.85rem;
  }
  .hero-cta-group .btn-primary,
  .hero-cta-group .btn-secondary {
    width: 100%;
    justify-content: center;
  }
  .artwork-card-spotlight img {
    height: 290px;
  }
}

/* ==========================================================================
   TRUST & INTERNATIONAL COLLECTORS BAR
   ========================================================================== */
.trust-bar {
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(20, 22, 26, 0.5);
  padding: 1.75rem 0;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.trust-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-gold);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.trust-text h4 {
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.trust-text p {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.3;
}

@media (max-width: 900px) {
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (max-width: 550px) {
  .trust-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   BIOGRAPHY & EXHIBITIONS
   ========================================================================== */
.bio-section {
  padding: 7rem 0;
  position: relative;
}

.bio-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 5rem;
  align-items: center;
}

.bio-content .section-eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-bottom: 0.75rem;
}

.bio-content h2 {
  font-size: 3rem;
  color: var(--accent-bone);
  line-height: 1.15;
  margin-bottom: 1.75rem;
}

.bio-statement {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-style: italic;
  color: #e5e3dc;
  line-height: 1.6;
  margin-bottom: 2rem;
  border-left: 2px solid var(--accent-gold);
  padding-left: 1.5rem;
}

.bio-details p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

.exhibitions-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2.5rem;
  box-shadow: 0 15px 35px rgba(0,0,0,0.4);
}

.exhibitions-card h3 {
  font-size: 1.6rem;
  color: var(--accent-bone);
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.exhibition-list {
  list-style: none;
}

.exhibition-item {
  display: flex;
  gap: 1.5rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.exhibition-item:last-child {
  border-bottom: none;
}

.exhibition-year {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--accent-gold);
  font-weight: 600;
  min-width: 48px;
}

.exhibition-info h4 {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
}

.exhibition-info p {
  font-size: 0.82rem;
  color: var(--text-muted);
}

@media (max-width: 1024px) {
  .bio-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: #08090a;
  border-top: 1px solid var(--border-subtle);
  padding: 5rem 0 2rem;
  margin-top: 6rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-brand h3 {
  font-size: 1.8rem;
  color: var(--accent-bone);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  max-width: 380px;
  line-height: 1.7;
}

.footer-col h4 {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.6rem;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.2s;
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-muted);
  font-size: 0.8rem;
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}
