/* ═══════════════════════════════════════════════
   Eva Samule — Artist Website v4
   ═══════════════════════════════════════════════ */

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

:root {
  --cream: #FAFAF7;
  --charcoal: #1A1A1A;
  --gold: #B09056;
  --stone: #8C8275;
  --linen: #EDEAE4;
  --dusty-rose: #C4A68A;
  --light-gray: #D4D0CB;
  --white: #FFFFFF;
}

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

body {
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  color: var(--charcoal);
  background: var(--cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  line-height: 1.2;
}

a { color: var(--charcoal); text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

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

/* ── NAVIGATION ── */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(250, 250, 247, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
}

.nav-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 1.2rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-weight: 400;
}

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

.nav-links a {
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 400;
  position: relative;
  transition: color 0.3s;
}

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

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

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

/* Mobile menu */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 28px;
  height: 20px;
  position: relative;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--charcoal);
  position: absolute;
  left: 0;
  transition: all 0.3s;
}

.nav-toggle span:nth-child(1) { top: 0; }
.nav-toggle span:nth-child(2) { top: 9px; }
.nav-toggle span:nth-child(3) { top: 18px; }

.nav-toggle.active span:nth-child(1) { top: 9px; transform: rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { top: 9px; transform: rotate(-45deg); }

@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: var(--cream);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    transition: right 0.4s ease;
  }
  .nav-links.open { right: 0; }
  .nav-links a { font-size: 1.1rem; }
}

/* ── HERO ── */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 40%;
  filter: brightness(0.6);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--cream);
  padding: 2rem;
}

.hero-content h1 {
  font-size: clamp(2.4rem, 6vw, 5rem);
  letter-spacing: 0.35em;
  font-weight: 300;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.hero-tagline {
  font-size: clamp(0.9rem, 1.5vw, 1.1rem);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 300;
  opacity: 0.85;
  margin-bottom: 2.5rem;
}

.hero-cta {
  display: inline-flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.btn {
  display: inline-block;
  padding: 0.9rem 2.5rem;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  border: 1px solid;
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-primary {
  background: var(--cream);
  color: var(--charcoal);
  border-color: var(--cream);
}

.btn-primary:hover {
  background: transparent;
  color: var(--cream);
}

.btn-outline {
  background: transparent;
  color: var(--cream);
  border-color: rgba(250,250,247,0.5);
}

.btn-outline:hover {
  background: var(--cream);
  color: var(--charcoal);
}

.btn-dark {
  background: var(--charcoal);
  color: var(--cream);
  border-color: var(--charcoal);
}

.btn-dark:hover {
  background: transparent;
  color: var(--charcoal);
}

/* ── SECTIONS ── */
.section {
  padding: 6rem 0;
}

.section-title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 1rem;
}

.section-subtitle {
  text-align: center;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  color: var(--stone);
  margin-bottom: 3.5rem;
}

.section-divider {
  width: 60px;
  height: 1px;
  background: var(--gold);
  margin: 0 auto 3.5rem;
}

/* ── FEATURED WORKS ── */
.featured-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.featured-item {
  cursor: pointer;
  overflow: hidden;
}

.featured-item img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  transition: transform 0.6s ease, filter 0.6s ease;
}

.featured-item:hover img {
  transform: scale(1.03);
  filter: brightness(0.95);
}

/* ── ABOUT SNIPPET ── */
.about-snippet {
  background: var(--linen);
}

.about-snippet-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.about-snippet-inner blockquote {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-style: italic;
  font-weight: 300;
  line-height: 1.6;
  color: var(--charcoal);
  margin-bottom: 2rem;
}

.about-snippet-inner .attribution {
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--stone);
}

/* ── CREDIBILITY STRIP ── */
.credibility-strip {
  padding: 3rem 0;
  border-top: 1px solid var(--light-gray);
  border-bottom: 1px solid var(--light-gray);
}

.credibility-items {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem 3rem;
  text-align: center;
}

.credibility-items span {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--stone);
  white-space: nowrap;
}

/* ── EXHIBITIONS PREVIEW ── */
.exhibitions-preview-list {
  max-width: 700px;
  margin: 0 auto;
}

.exhibition-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 1.2rem 0;
  border-bottom: 1px solid var(--light-gray);
}

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

.exhibition-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
}

.exhibition-detail {
  font-size: 0.8rem;
  color: var(--stone);
  letter-spacing: 0.05em;
  text-align: right;
}

/* ── GALLERY GRID ── */
.gallery-grid {
  columns: 3;
  column-gap: 1.5rem;
}

.gallery-grid .gallery-item {
  break-inside: avoid;
  margin-bottom: 1.5rem;
  cursor: pointer;
  overflow: hidden;
}

.gallery-grid .gallery-item img {
  width: 100%;
  display: block;
  transition: transform 0.5s ease;
}

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

@media (max-width: 900px) { .gallery-grid { columns: 2; } }
@media (max-width: 500px) { .gallery-grid { columns: 1; } }

/* ── LIGHTBOX ── */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,0.95);
  align-items: center;
  justify-content: center;
}

.lightbox.active { display: flex; }

.lightbox img {
  max-height: 90vh;
  max-width: 90vw;
  object-fit: contain;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: none;
  border: none;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  padding: 1rem;
  opacity: 0.7;
  transition: opacity 0.3s;
  font-family: 'Inter', sans-serif;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover { opacity: 1; }

.lightbox-close { top: 1rem; right: 1.5rem; font-size: 1.5rem; }
.lightbox-prev { left: 1.5rem; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 1.5rem; top: 50%; transform: translateY(-50%); }

/* ── PAGE HEADER ── */
.page-header {
  padding: 10rem 0 4rem;
  text-align: center;
  background: var(--linen);
}

.page-header h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  font-weight: 300;
}

.page-header p {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--stone);
  letter-spacing: 0.1em;
}

/* ── ABOUT PAGE ── */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.about-photo img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.about-text h2 {
  font-size: 1.8rem;
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
}

.about-text p {
  margin-bottom: 1.2rem;
  font-size: 0.95rem;
}

@media (max-width: 768px) {
  .about-content { grid-template-columns: 1fr; gap: 2rem; }
}

/* ── EXHIBITIONS PAGE ── */
.exhibitions-full .exhibition-year {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  letter-spacing: 0.1em;
  margin: 3rem 0 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--gold);
  color: var(--gold);
}

.exhibitions-full .exhibition-year:first-child { margin-top: 0; }

.exhibitions-full .exhibition-entry {
  padding: 1rem 0;
  border-bottom: 1px solid var(--light-gray);
}

.exhibitions-full .exhibition-entry h3 {
  font-size: 1.15rem;
  margin-bottom: 0.3rem;
}

.exhibitions-full .exhibition-entry p {
  font-size: 0.85rem;
  color: var(--stone);
}

/* Prize section */
.prize-section {
  background: var(--linen);
  border-radius: 0;
}

.prize-content {
  max-width: 800px;
  margin: 0 auto;
}

.prize-content h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  letter-spacing: 0.1em;
}

.prize-content p {
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

/* ── FORMS ── */
.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  color: var(--stone);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.9rem 1rem;
  border: 1px solid var(--light-gray);
  background: var(--white);
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--charcoal);
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--gold);
}

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

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

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

.form-wrapper {
  max-width: 650px;
  margin: 0 auto;
}

/* ── CONTACT PAGE ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
}

.contact-info h3 {
  font-size: 1.2rem;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.contact-info p {
  font-size: 0.9rem;
  color: var(--stone);
  margin-bottom: 0.5rem;
}

.contact-info .info-block { margin-bottom: 2rem; }

@media (max-width: 768px) {
  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
}

/* ── FOOTER ── */
.site-footer {
  padding: 4rem 0 2rem;
  border-top: 1px solid var(--light-gray);
  text-align: center;
}

.footer-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  list-style: none;
  margin-bottom: 2rem;
}

.footer-links a {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--stone);
  transition: color 0.3s;
}

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

.footer-copy {
  font-size: 0.7rem;
  color: var(--stone);
  letter-spacing: 0.05em;
}

/* ── ANIMATIONS ── */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── UTILITIES ── */
/* ── EXHIBITION CARDS ── */
@media (max-width: 768px) {
  .exhibition-card { grid-template-columns: 1fr !important; }
  .prize-content { grid-template-columns: 1fr !important; }
}

.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-2 { margin-bottom: 2rem; }

/* Social links in footer */
.footer-social { margin: 1rem 0 0.5rem; }
.footer-social a { color: var(--gold, #A0845C); text-decoration: none; font-size: 0.9rem; letter-spacing: 0.05em; transition: opacity 0.2s; }
.footer-social a:hover { opacity: 0.7; }

/* Acquiring a painting - responsive */
@media (max-width: 680px) {
  .section div[style*="grid-template-columns:1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }
}

/* Collect page */
.lifestyle-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1rem; }
.lifestyle-card { border-radius: 8px; overflow: hidden; }
.lifestyle-card img { width: 100%; height: 280px; object-fit: cover; display: block; }

.collect-paths { display: flex; flex-direction: column; gap: 3rem; max-width: 900px; margin: 0 auto; }
.collect-card { display: grid; grid-template-columns: 300px 1fr; gap: 2.5rem; align-items: start; }
.collect-card:nth-child(even) { direction: rtl; }
.collect-card:nth-child(even) > * { direction: ltr; }
.collect-card-img { border-radius: 8px; overflow: hidden; }
.collect-card-img img { width: 100%; display: block; }
.collect-steps { font-size: 0.88rem; color: var(--stone); line-height: 2; padding-left: 1.2rem; margin-bottom: 1rem; }
.collect-steps a { border-bottom: 1px solid var(--gold); }
.collect-steps strong { color: var(--charcoal); }
.collect-timeline { font-size: 0.82rem; color: var(--stone); font-style: italic; }

@media (max-width: 680px) {
  .lifestyle-grid { grid-template-columns: 1fr; }
  .collect-card { grid-template-columns: 1fr !important; direction: ltr !important; }
  .collect-card > * { direction: ltr !important; }
}
