/* ─── Art & Painting Theme ──────────────────────────────── */

body {
  background: #faf8f5;
  color: #1a1a1a;
  min-height: 100vh;
}

/* ─── Nav ───────────────────────────────────────────────── */
.art-nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 2.5rem;
  height: 56px;
  background: rgba(250, 248, 245, 0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
}

.art-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  color: #1a1a1a;
  text-decoration: none;
  cursor: pointer;
}
.art-logo em { color: #c0392b; font-style: italic; }

.art-nav-links { display: flex; gap: 2rem; }
.art-nav-link {
  color: #999;
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.2s;
}
.art-nav-link:hover { color: #c0392b; }

.art-back-btn {
  background: none;
  border: 1px solid rgba(0, 0, 0, 0.18);
  color: #666;
  padding: 6px 16px;
  border-radius: 20px;
  cursor: pointer;
  font-size: 0.8rem;
  font-family: 'Inter', sans-serif;
  text-decoration: none;
  transition: all 0.2s;
  display: inline-flex; align-items: center; gap: 6px;
}
.art-back-btn:hover { border-color: #c0392b; color: #c0392b; }

/* ─── Hero ──────────────────────────────────────────────── */
.art-hero {
  min-height: 90vh;
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
  background: #fff;
}

.paint-blobs {
  position: absolute; inset: 0;
  pointer-events: none;
}

.blob {
  position: absolute;
  border-radius: 60% 40% 50% 70% / 50% 60% 40% 50%;
  filter: blur(60px);
  opacity: 0.22;
  animation: blobDrift 10s ease-in-out infinite;
}
.blob-1 { width: 400px; height: 400px; background: #c0392b; top: -100px; left: -100px; animation-delay: 0s;   }
.blob-2 { width: 350px; height: 350px; background: #e67e22; top: 50%;    right: -80px; animation-delay: 3s;   }
.blob-3 { width: 300px; height: 300px; background: #8e44ad; bottom: -80px; left: 30%;  animation-delay: 6s;   }
.blob-4 { width: 250px; height: 250px; background: #2980b9; top: 20%;    left: 42%;   animation-delay: 1.5s; }

@keyframes blobDrift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%       { transform: translate(20px, -20px) scale(1.05); }
  66%       { transform: translate(-15px, 15px) scale(0.97); }
}

.art-hero-content { z-index: 1; text-align: center; padding: 2rem; }

.art-eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  color: #c0392b;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.art-hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(3.5rem, 12vw, 8rem);
  line-height: 1;
  color: #1a1a1a;
  margin-bottom: 1.5rem;
}
.art-hero-title em { color: #c0392b; }

.art-hero-sub { font-size: 1rem; color: #999; max-width: 420px; margin: 0 auto; }

/* ─── Section shared ────────────────────────────────────── */
.art-section { padding: 6rem 0; }
.painting-section { background: #faf8f5; }
.books-section    { background: #fff; }

.art-section-inner { max-width: 900px; margin: 0 auto; padding: 0 2.5rem; }

.section-number {
  font-family: 'Playfair Display', serif;
  font-size: 5rem;
  font-weight: 700;
  color: rgba(0, 0, 0, 0.05);
  line-height: 1;
  margin-bottom: -1rem;
}

.art-section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: #1a1a1a;
  margin-bottom: 1.5rem;
}

.art-section-body {
  font-size: 1rem;
  color: #777;
  line-height: 1.9;
  max-width: 600px;
  margin-bottom: 3rem;
}

/* ─── Painting — palette ────────────────────────────────── */
.color-palette {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}
.swatch {
  width: 44px; height: 44px;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  transition: transform 0.2s;
}
.swatch:hover { transform: scale(1.2); }

/* ─── Painting — canvas demo ────────────────────────────── */
.canvas-demo {
  background: #f5f0e8;
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: 12px;
  height: 200px;
  position: relative;
  overflow: hidden;
  display: flex; align-items: flex-end; justify-content: flex-end;
  padding: 1rem;
}

.brush-stroke {
  position: absolute;
  border-radius: 50%;
  filter: blur(30px);
  animation: strokePulse 4s ease-in-out infinite;
}
.s1 { width: 180px; height: 120px; background: #c0392b; top: 20px;   left: 30px;  animation-delay: 0s;   opacity: 0.55; }
.s2 { width: 150px; height: 100px; background: #e67e22; top: 40px;   left: 100px; animation-delay: 1s;   opacity: 0.55; }
.s3 { width: 120px; height: 90px;  background: #8e44ad; bottom: 20px; right: 80px; animation-delay: 2s;   opacity: 0.55; }
.s4 { width: 100px; height: 80px;  background: #2980b9; bottom: 10px; right: 20px; animation-delay: 0.5s; opacity: 0.55; }

@keyframes strokePulse {
  0%, 100% { opacity: 0.45; transform: scale(1);    }
  50%       { opacity: 0.7;  transform: scale(1.08); }
}

.canvas-caption {
  font-size: 0.72rem;
  color: rgba(0, 0, 0, 0.35);
  font-style: italic;
  z-index: 1;
}

/* ─── Books — shelf ─────────────────────────────────────── */
.bookshelf {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  background: #ede8de;
  border-radius: 10px;
  padding: 20px 20px 4px;
  border-bottom: 5px solid #c4ae8a;
  overflow-x: auto;
  margin-bottom: 3rem;
}

.book {
  width: 40px;
  height: var(--h);
  background: var(--color);
  border-radius: 3px 0 0 3px;
  flex-shrink: 0;
  cursor: pointer;
  transition: transform 0.3s ease;
  box-shadow: 3px 0 8px rgba(0, 0, 0, 0.2);
  position: relative;
}
.book:hover { transform: translateY(-14px); }

.book-spine {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transform: rotate(180deg);
  font-size: 8.5px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 10px 0;
}

/* ─── Books — quote ─────────────────────────────────────── */
.art-quote {
  border-left: 3px solid #c0392b;
  padding: 1rem 1.5rem;
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.05rem;
  color: #666;
  line-height: 1.75;
  background: rgba(192, 57, 43, 0.04);
  border-radius: 0 8px 8px 0;
}
.quote-mark {
  font-size: 2.8rem;
  color: #c0392b;
  line-height: 0;
  vertical-align: -0.4em;
  margin-right: 0.2rem;
}
.quote-attr {
  display: block;
  margin-top: 0.75rem;
  font-size: 0.82rem;
  color: #bbb;
  font-style: normal;
}

/* ─── Footer ────────────────────────────────────────────── */
.art-footer {
  padding: 2rem 2.5rem;
  display: flex; align-items: center; justify-content: space-between;
  border-top: 1px solid rgba(0, 0, 0, 0.07);
  color: #bbb;
  font-size: 0.85rem;
}

/* ─── Responsive ────────────────────────────────────────── */
@media (max-width: 640px) {
  .art-footer { flex-direction: column; gap: 1rem; text-align: center; }
}
