/* ============================================
   VISUAL REFRESH — Oded Liphshitz
   Overrides style.css for modern, elevated feel
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=DM+Sans:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&family=Noto+Serif+Hebrew:wght@300;400;500;600;700&display=swap');

:root {
  --ink:        #0a0a14;
  --ink-soft:   #16162a;
  --paper:      #faf8f5;
  --paper-dark: #f0ede6;
  --cream:      #fdfbf8;
  --gold:       #c49a2a;
  --gold-light: #d4aa55;
  --gold-pale:  #f5ebd4;
  --red:        #6b1e1e;
  --gray:       #5a5464;
  --gray-light: #9a94a0;

  --font-serif: 'Playfair Display', 'Georgia', serif;
  --font-sans:  'DM Sans', -apple-system, sans-serif;
  --font-he:    'Noto Serif Hebrew', 'David', serif;

  --section-pad: 120px 32px;
  --shadow:      0 4px 30px rgba(10,10,20,0.06);
  --shadow-lg:   0 12px 50px rgba(10,10,20,0.12);
}

/* --- Base --- */
body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
  letter-spacing: 0.01em;
}

body[dir="rtl"] {
  font-family: var(--font-he);
}
body[dir="rtl"] h1,
body[dir="rtl"] h2,
body[dir="rtl"] h3 { font-family: var(--font-he); }

/* --- Typography upgrade --- */
h1 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(3rem, 7vw, 6.5rem);
  letter-spacing: 0.02em;
  line-height: 1.02;
}
h2 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.15;
}

.lead {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--gray);
  font-weight: 300;
}

.eyebrow {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  color: var(--gold);
  margin-bottom: 16px;
}

p { color: var(--gray); line-height: 1.75; }

/* --- Navigation --- */
.nav {
  height: 72px;
  padding: 0 40px;
  transition: all 0.4s ease;
}
.nav.scrolled {
  background: rgba(250,248,245,0.96);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(0,0,0,0.06);
}
.nav-logo {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: 0.06em;
}
.nav-logo em { font-style: italic; color: var(--gold-light); }
.nav-links a {
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.03em;
  transition: color 0.3s;
}
.nav-links a:hover { color: var(--gold) !important; }

/* --- Buttons --- */
.btn {
  padding: 13px 34px;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  border-radius: 2px;
  transition: all 0.3s ease;
}
.btn-gold {
  background: var(--gold);
  color: #fff;
  border-color: var(--gold);
  box-shadow: 0 2px 12px rgba(196,154,42,0.3);
}
.btn-gold:hover {
  background: #a88320;
  border-color: #a88320;
  box-shadow: 0 4px 20px rgba(196,154,42,0.4);
  transform: translateY(-1px);
}
.btn-outline {
  border-width: 1px;
}
.btn-outline:hover {
  transform: translateY(-1px);
}

/* --- Hero --- */
.hero {
  min-height: 100vh;
  background: var(--ink);
}
.hero-slide {
  filter: brightness(0.50) saturate(0.9);
  transition: opacity 1.6s ease-in-out;
}
.hero-overlay {
  background: linear-gradient(to bottom,
    rgba(10,10,20,0.30) 0%,
    rgba(10,10,20,0.05) 35%,
    rgba(10,10,20,0.30) 75%,
    rgba(10,10,20,0.65) 100%);
}
.hero-inner {
  padding-top: 0;
}
.hero-label {
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  color: var(--gold);
  margin-bottom: 28px;
  opacity: 0;
  animation: heroFadeUp 1s 0.2s forwards;
}
.hero h1 {
  font-size: clamp(3.5rem, 9vw, 8rem);
  font-weight: 400;
  letter-spacing: 0.05em;
  margin-bottom: 32px;
  opacity: 0;
  animation: heroFadeUp 1s 0.4s forwards;
}
.hero h1 em {
  color: var(--gold-light);
  font-weight: 400;
}
.hero-sub {
  margin-bottom: 40px;
  opacity: 0;
  animation: heroFadeUp 1s 0.6s forwards;
}
.hero-actions {
  opacity: 0;
  animation: heroFadeUp 1s 0.8s forwards;
}
.hero-scroll {
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  animation: heroPulse 2.5s infinite;
}

@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes heroPulse {
  0%, 100% { opacity: 0.2; }
  50% { opacity: 0.6; }
}

/* --- Section headers --- */
.section-header {
  margin-bottom: 56px;
}
.section-header h2 {
  margin-bottom: 12px;
}

/* --- Play cards --- */
.plays-grid {
  gap: 20px;
}
.play-card {
  border-radius: 6px;
  transition: all 0.4s ease;
  border-top-width: 2px;
}
.play-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.play-card .play-he {
  font-family: var(--font-he);
  font-size: 1.5rem;
  font-weight: 500;
}
.play-card .play-en {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.92rem;
  color: var(--gray-light);
}
.play-card .play-genre {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
}
.play-card .play-desc {
  font-size: 0.88rem;
  line-height: 1.65;
}
.play-card-footer {
  font-size: 0.78rem;
}
.play-award {
  color: var(--gold) !important;
}

/* Cinema poster cards upgrade */
.play-card:has(.play-card-img) {
  min-height: 420px;
  border-radius: 6px;
}
.play-card:has(.play-card-img) .play-card-img img {
  filter: brightness(0.45) saturate(0.85);
}
.play-card:has(.play-card-img):hover .play-card-img img {
  filter: brightness(0.22) saturate(0.7);
  transform: scale(1.05);
}
.play-card:has(.play-card-img)::before {
  background: linear-gradient(
    to top,
    rgba(10,10,20,0.95) 0%,
    rgba(10,10,20,0.75) 30%,
    rgba(10,10,20,0.25) 65%,
    rgba(10,10,20,0.05) 100%
  );
}
.play-card:has(.play-card-img) .play-he {
  font-family: var(--font-he);
  font-size: 1.9rem;
  font-weight: 500;
  text-shadow: 0 2px 20px rgba(0,0,0,0.5);
}
.play-card:has(.play-card-img) .play-en {
  font-family: var(--font-serif);
  font-style: italic;
}
.play-card:has(.play-card-img):hover {
  box-shadow: inset 0 0 0 1px rgba(196,154,42,0.4), var(--shadow-lg);
}

/* Featured card — larger */
.play-card.featured {
  grid-column: span 1;
}
.play-card.featured:first-child {
  grid-column: 1 / -1;
  min-height: 480px;
}
.play-card.featured:first-child .play-he {
  font-size: 2.4rem;
}

/* --- Texts section --- */
.texts-section {
  background: var(--ink);
}
.text-card {
  border-radius: 6px;
  transition: all 0.3s ease;
}
.text-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}
.text-card-title {
  font-family: var(--font-he);
  font-weight: 500;
}

/* --- Bio section --- */
.bio-section {
  background: var(--cream);
}
.bio-photo {
  border-radius: 6px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.bio-content h2 {
  font-family: var(--font-he);
}

/* --- Contact section --- */
.contact-section {
  background: var(--ink);
}
.contact-section h2 {
  color: var(--cream);
}
.contact-section .eyebrow {
  color: var(--gold);
}
.contact-row {
  gap: 40px;
}
.contact-block h4 {
  color: var(--gold-light);
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.contact-block a {
  color: var(--cream);
  transition: color 0.3s;
}
.contact-block a:hover {
  color: var(--gold-light);
}

/* --- Footer --- */
.footer {
  background: var(--ink);
  border-top: 1px solid rgba(245,240,232,0.06);
}
.footer-logo {
  font-family: var(--font-serif);
}
.footer-logo em {
  color: var(--gold-light);
}

/* --- Blog section --- */
.press-item {
  transition: all 0.3s ease;
  border-radius: 4px;
  padding: 12px 16px;
  margin: -12px -16px;
}
.press-item:hover {
  background: rgba(196,154,42,0.06);
}
.press-title {
  transition: color 0.3s;
}
.press-item:hover .press-title {
  color: var(--gold);
}

/* --- Play modal --- */
.play-modal {
  border-radius: 8px;
}
.play-modal-he {
  font-family: var(--font-he);
}
.play-modal-en {
  font-family: var(--font-serif);
  font-style: italic;
}

/* --- Smooth scroll reveal --- */
/* Only apply to elements explicitly marked with .reveal class */
.reveal-item {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-item.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Responsive refinements --- */
@media (max-width: 768px) {
  :root {
    --section-pad: 80px 20px;
  }
  .nav { padding: 0 20px; height: 60px; }
  .hero h1 { letter-spacing: 0.02em; }
  .play-card.featured:first-child { min-height: 360px; }
  .play-card.featured:first-child .play-he { font-size: 1.8rem; }
  .bio-grid { gap: 40px; }
  .contact-row { flex-direction: column; gap: 24px; }
}
