/*
Theme Name: Yael Cooking Workshops
Theme URI: https://yaelcooking.co.il
Author: Yael Razinovsky-Tal
Author URI: https://yaelcooking.co.il
Description: תבנית מותאמת אישית לסדנאות הבישול של יעל רזינובסקי-טל
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 8.0
License: Private
Text Domain: yael-cooking
Tags: rtl-language, hebrew, cooking, workshops
*/

/* ─── CSS Variables ─── */
:root {
  --cream: #F8F3EC;
  --warm-white: #FDFAF6;
  --terracotta: #C4714A;
  --terracotta-light: #D98A63;
  --sage: #7A8C72;
  --sage-light: #A3B49B;
  --dark: #2C2416;
  --dark-mid: #4A3F2F;
  --gold: #B8955A;
  --gold-light: #D4B07A;
  --text-body: #3D3226;
  --border: rgba(184,149,90,0.2);
  --radius: 4px;
  --transition: 0.3s ease;
}

/* ─── Reset & Base ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Heebo', 'Assistant', sans-serif;
  background: var(--warm-white);
  color: var(--text-body);
  direction: rtl;
  overflow-x: hidden;
  line-height: 1.7;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--terracotta); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--terracotta-light); }

/* ─── Typography ─── */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', 'David Libre', serif;
  color: var(--dark);
  line-height: 1.3;
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.8rem); }
p { margin-bottom: 1rem; }

/* ─── Layout ─── */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 2rem;
}
.section { padding: 5rem 0; }
.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  color: var(--dark);
  margin-bottom: 0.5rem;
}
.section-subtitle {
  color: var(--terracotta);
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 1rem;
  display: block;
}
.section-divider {
  width: 60px; height: 2px;
  background: var(--gold);
  margin: 1.5rem 0 3rem;
}

/* ─── Buttons ─── */
.btn {
  display: inline-block;
  padding: 0.85rem 2.2rem;
  border-radius: var(--radius);
  font-family: 'Heebo', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all var(--transition);
  border: none;
  text-align: center;
}
.btn-primary {
  background: var(--terracotta);
  color: #fff;
}
.btn-primary:hover {
  background: var(--terracotta-light);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(196,113,74,0.3);
}
.btn-outline {
  background: transparent;
  color: var(--terracotta);
  border: 1.5px solid var(--terracotta);
}
.btn-outline:hover {
  background: var(--terracotta);
  color: #fff;
  transform: translateY(-2px);
}

/* ─── Navigation ─── */
#site-header {
  position: fixed; top: 0; right: 0; left: 0; z-index: 1000;
  background: rgba(253,250,246,0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}
#site-header.scrolled { box-shadow: 0 2px 30px rgba(44,36,22,0.08); }

.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.site-logo a {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  color: var(--dark);
  letter-spacing: 0.02em;
}
.site-logo a span { color: var(--terracotta); font-style: italic; }

.primary-nav ul {
  list-style: none;
  display: flex; gap: 2.2rem; align-items: center;
}
.primary-nav a {
  color: var(--dark-mid);
  font-size: 0.92rem;
  font-weight: 400;
  letter-spacing: 0.03em;
  position: relative;
  padding-bottom: 3px;
}
.primary-nav a::after {
  content: '';
  position: absolute; bottom: 0; right: 0;
  width: 0; height: 1.5px;
  background: var(--terracotta);
  transition: width var(--transition);
}
.primary-nav a:hover, .primary-nav .current-menu-item a { color: var(--terracotta); }
.primary-nav a:hover::after, .primary-nav .current-menu-item a::after { width: 100%; }
.nav-cta { margin-right: 1rem; }

.menu-toggle {
  display: none;
  background: none; border: none;
  cursor: pointer; padding: 4px;
  flex-direction: column; gap: 5px;
}
.menu-toggle span {
  display: block; width: 24px; height: 2px;
  background: var(--dark);
  transition: all var(--transition);
}

/* ─── Hero ─── */
.hero {
  min-height: 100vh;
  display: flex; align-items: center;
  background: var(--cream);
  position: relative;
  overflow: hidden;
  padding-top: 72px;
}
.hero::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background: url('assets/hero-bg.jpg') center/cover no-repeat;
  opacity: 0.08;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem; align-items: center;
  position: relative; z-index: 1;
  padding: 5rem 0;
}
.hero-eyebrow {
  color: var(--terracotta);
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 1.2rem;
  display: block;
}
.hero h1 {
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  line-height: 1.2;
  color: var(--dark);
  margin-bottom: 1.5rem;
}
.hero h1 em { color: var(--terracotta); font-style: italic; }
.hero-desc {
  font-size: 1.05rem; color: var(--dark-mid);
  line-height: 1.8; margin-bottom: 2.5rem;
  max-width: 500px;
}
.hero-actions { display: flex; gap: 1.2rem; flex-wrap: wrap; }
.hero-image {
  position: relative;
  border-radius: 2px;
  overflow: hidden;
}
.hero-image img {
  width: 100%; border-radius: 2px;
  box-shadow: 0 30px 80px rgba(44,36,22,0.15);
}
.hero-badge {
  position: absolute; bottom: -1.5rem; right: -1.5rem;
  background: var(--terracotta);
  color: #fff; border-radius: 50%;
  width: 130px; height: 130px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  font-size: 0.8rem; line-height: 1.4;
  font-weight: 500;
  box-shadow: 0 8px 30px rgba(196,113,74,0.4);
  padding: 1rem;
}
.hero-badge strong { font-size: 1.6rem; display: block; font-family: 'Playfair Display', serif; }
.hero-scroll {
  position: absolute; bottom: 2.5rem; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: var(--gold); font-size: 0.75rem; letter-spacing: 0.1em;
}
.hero-scroll::after {
  content: '';
  width: 1px; height: 40px;
  background: var(--gold);
  animation: scrollLine 1.8s ease-in-out infinite;
}
@keyframes scrollLine {
  0%, 100% { opacity: 0; transform: scaleY(0); transform-origin: top; }
  50% { opacity: 1; transform: scaleY(1); }
}

/* ─── About Section ─── */
.about-section { background: var(--warm-white); }
.about-grid {
  display: grid; grid-template-columns: 5fr 7fr;
  gap: 5rem; align-items: center;
}
.about-image-wrap { position: relative; }
.about-image-wrap img {
  width: 100%; border-radius: 2px;
  box-shadow: 0 20px 60px rgba(44,36,22,0.12);
}
.about-image-accent {
  position: absolute; top: -1.5rem; right: -1.5rem;
  width: 60%; aspect-ratio: 1;
  border: 2px solid var(--gold);
  border-radius: 2px;
  z-index: -1;
}
.about-quote {
  border-right: 3px solid var(--terracotta);
  padding-right: 1.5rem;
  margin: 1.8rem 0;
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  color: var(--dark-mid);
  font-style: italic;
  line-height: 1.7;
}
.credentials-list {
  list-style: none; display: flex; flex-direction: column; gap: 0.6rem;
  margin: 1.5rem 0 2rem;
}
.credentials-list li {
  display: flex; align-items: flex-start; gap: 0.8rem;
  font-size: 0.9rem; color: var(--dark-mid);
}
.credentials-list li::before {
  content: '✦';
  color: var(--gold); flex-shrink: 0;
  margin-top: 2px; font-size: 0.75rem;
}

/* ─── Workshops Section ─── */
.workshops-section { background: var(--cream); }
.workshops-header { text-align: center; margin-bottom: 4rem; }
.workshops-header .section-divider { margin: 1.5rem auto 0; }
.workshops-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}
.workshop-card {
  background: var(--warm-white);
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform var(--transition), box-shadow var(--transition);
}
.workshop-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(44,36,22,0.1);
}
.workshop-card-image {
  width: 100%; height: 220px;
  object-fit: cover;
  display: block;
}
.workshop-card-image-placeholder {
  width: 100%; height: 220px;
  background: linear-gradient(135deg, var(--cream), var(--sage-light));
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem;
}
.workshop-card-body { padding: 1.8rem; }
.workshop-card-tag {
  display: inline-block;
  background: rgba(196,113,74,0.1);
  color: var(--terracotta);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  margin-bottom: 1rem;
  font-weight: 500;
}
.workshop-card h3 {
  font-size: 1.3rem; margin-bottom: 0.8rem; color: var(--dark);
}
.workshop-card p {
  font-size: 0.9rem; color: var(--dark-mid); line-height: 1.7; margin-bottom: 1.5rem;
}
.workshop-card-meta {
  display: flex; flex-wrap: wrap; gap: 0.6rem;
  margin-bottom: 1.5rem;
}
.workshop-meta-tag {
  background: var(--cream);
  color: var(--dark-mid);
  font-size: 0.78rem; padding: 0.2rem 0.7rem;
  border-radius: 50px; border: 1px solid var(--border);
}
.workshop-card-footer {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 1.2rem; border-top: 1px solid var(--border);
}
.workshop-price {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem; color: var(--terracotta); font-weight: 600;
}
.workshop-price span { font-family: 'Heebo', sans-serif; font-size: 0.8rem; color: var(--dark-mid); font-weight: 400; }

/* ─── Newsletter Section ─── */
.newsletter-section {
  background: var(--dark);
  color: #fff; text-align: center;
  padding: 5rem 0;
}
.newsletter-section .section-subtitle { color: var(--gold-light); }
.newsletter-section .section-title { color: #fff; }
.newsletter-section .section-divider { background: var(--gold); margin: 1.5rem auto 2rem; }
.newsletter-section p { color: rgba(255,255,255,0.7); max-width: 500px; margin: 0 auto 2.5rem; }
.newsletter-form {
  display: flex; gap: 0.8rem; max-width: 480px; margin: 0 auto;
}
.newsletter-form input[type="email"] {
  flex: 1;
  padding: 0.85rem 1.2rem;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.06);
  color: #fff; border-radius: var(--radius);
  font-family: 'Heebo', sans-serif; font-size: 0.95rem;
  direction: rtl;
  transition: border-color var(--transition);
}
.newsletter-form input::placeholder { color: rgba(255,255,255,0.4); }
.newsletter-form input:focus {
  outline: none; border-color: var(--gold);
}
.newsletter-form .btn-primary { white-space: nowrap; }

/* ─── Contact Section ─── */
.contact-section { background: var(--warm-white); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; }
.contact-info h3 { margin-bottom: 1rem; }
.contact-info p { color: var(--dark-mid); margin-bottom: 1.5rem; }
.contact-details { list-style: none; display: flex; flex-direction: column; gap: 0.8rem; }
.contact-details li { display: flex; align-items: center; gap: 0.8rem; font-size: 0.92rem; color: var(--dark-mid); }
.contact-icon { width: 36px; height: 36px; border-radius: 50%; background: var(--cream); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--terracotta); }
.social-links { display: flex; gap: 0.8rem; margin-top: 2rem; }
.social-link { width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid var(--border); display: flex; align-items: center; justify-content: center; color: var(--dark-mid); transition: all var(--transition); }
.social-link:hover { border-color: var(--terracotta); color: var(--terracotta); background: rgba(196,113,74,0.05); }

/* Contact Form */
.contact-form { display: flex; flex-direction: column; gap: 1.2rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group label { font-size: 0.85rem; font-weight: 500; color: var(--dark-mid); }
.form-control {
  padding: 0.8rem 1rem;
  border: 1px solid var(--border);
  background: var(--cream);
  border-radius: var(--radius);
  font-family: 'Heebo', sans-serif; font-size: 0.95rem;
  color: var(--text-body);
  direction: rtl;
  transition: border-color var(--transition);
}
.form-control:focus { outline: none; border-color: var(--terracotta); }
textarea.form-control { resize: vertical; min-height: 120px; }

/* ─── Footer ─── */
#site-footer {
  background: var(--dark);
  color: rgba(255,255,255,0.6);
  padding: 3rem 0 2rem;
  font-size: 0.88rem;
}
.footer-inner {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 1rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 1.5rem;
}
.footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem; color: #fff;
}
.footer-logo span { color: var(--terracotta-light); font-style: italic; }
.footer-nav ul { list-style: none; display: flex; gap: 1.8rem; }
.footer-nav a { color: rgba(255,255,255,0.5); transition: color var(--transition); }
.footer-nav a:hover { color: var(--gold-light); }
.footer-bottom { text-align: center; }

/* ─── Page Banner ─── */
.page-banner {
  background: var(--cream);
  padding: 8rem 0 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-banner::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(196,113,74,0.06) 0%, transparent 60%);
}
.page-banner h1 { position: relative; margin-bottom: 0.5rem; }
.page-banner .breadcrumb { color: var(--dark-mid); font-size: 0.85rem; position: relative; }
.page-banner .breadcrumb a { color: var(--terracotta); }

/* ─── Single Workshop Page ─── */
.workshop-single { padding: 5rem 0; }
.workshop-single-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 4rem; align-items: start; }
.workshop-single-image { width: 100%; border-radius: 4px; box-shadow: 0 20px 60px rgba(44,36,22,0.12); }
.workshop-sidebar {
  position: sticky; top: 100px;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 4px; padding: 2rem;
}
.sidebar-price { font-family: 'Playfair Display', serif; font-size: 2.2rem; color: var(--terracotta); margin-bottom: 1rem; }
.sidebar-details { list-style: none; display: flex; flex-direction: column; gap: 0.8rem; margin-bottom: 1.5rem; }
.sidebar-details li { display: flex; align-items: center; gap: 0.7rem; font-size: 0.88rem; color: var(--dark-mid); border-bottom: 1px solid var(--border); padding-bottom: 0.8rem; }
.sidebar-details li:last-child { border-bottom: none; }

/* ─── Testimonials ─── */
.testimonials-section { background: var(--cream); padding: 5rem 0; }
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; margin-top: 3rem; }
.testimonial-card {
  background: var(--warm-white);
  border: 1px solid var(--border);
  border-radius: 4px; padding: 2rem;
}
.testimonial-stars { color: var(--gold); margin-bottom: 0.8rem; letter-spacing: 2px; }
.testimonial-text { font-style: italic; color: var(--dark-mid); line-height: 1.7; margin-bottom: 1.2rem; font-size: 0.95rem; }
.testimonial-author { font-weight: 500; color: var(--dark); font-size: 0.88rem; }

/* ─── Responsive ─── */
@media (max-width: 900px) {
  .hero-inner, .about-grid, .contact-grid, .workshop-single-grid { grid-template-columns: 1fr; gap: 3rem; }
  .hero-image { order: -1; }
  .about-image-accent { display: none; }
  .workshop-sidebar { position: static; }
  .primary-nav { display: none; position: fixed; inset: 72px 0 0 0; background: var(--warm-white); flex-direction: column; align-items: center; justify-content: center; z-index: 999; }
  .primary-nav.open { display: flex; }
  .primary-nav ul { flex-direction: column; gap: 2rem; text-align: center; }
  .primary-nav a { font-size: 1.2rem; }
  .menu-toggle { display: flex; }
  .newsletter-form { flex-direction: column; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-nav ul { flex-wrap: wrap; justify-content: center; }
}

@media (max-width: 600px) {
  .container { padding: 0 1.2rem; }
  .section { padding: 3.5rem 0; }
  .hero-badge { display: none; }
  .hero-actions { flex-direction: column; }
  .workshops-grid { grid-template-columns: 1fr; }
}

/* ─── Animations ─── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
.animate-up { animation: fadeUp 0.7s ease forwards; }
.delay-1 { animation-delay: 0.1s; opacity: 0; }
.delay-2 { animation-delay: 0.25s; opacity: 0; }
.delay-3 { animation-delay: 0.4s; opacity: 0; }
.delay-4 { animation-delay: 0.55s; opacity: 0; }

/* ─── Admin Notice ─── */
.admin-bar-notice { display: none; }
.admin-bar .admin-bar-notice { display: block; }
