/* ---- Variables – צבעים בולטים ויפים לקורס לק ג'ל ---- */
:root {
  --color-bg: #fff5f8;
  --color-cream: #ffe4ec;
  --color-rose: #e91e8c;
  --color-rose-deep: #c2185b;
  --color-rose-light: #f8bbd9;
  --color-rose-hover: #f7c6ec;
  --color-accent: #ff4081;
  --color-text: #2d1f28;
  --color-text-soft: #5c4a54;
  --color-gold: #d4a84b;
  --color-white: #fff;
  --font-heebo: 'Heebo', sans-serif;
  --shadow-soft: 0 4px 20px rgba(233, 30, 140, 0.12);
  --shadow-card: 0 8px 32px rgba(194, 24, 91, 0.15);
  --radius: 12px;
  --radius-lg: 20px;
}

/* ---- Base ---- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  direction: rtl;
}

body {
  margin: 0;
  font-family: var(--font-heebo);
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--color-text);
  background: var(--color-bg);
  direction: rtl;
}

a {
  color: var(--color-rose-deep);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--color-gold);
}

h1, h2, h3 {
  font-family: var(--font-heebo);
  font-weight: 600;
}

/* ---- Header ---- */
.header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 100;
  background: rgba(255, 245, 248, 0.98);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow-soft);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-direction: row;
  direction: rtl;
  max-width: 1100px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--color-text);
}

.logo-img {
  max-height: 42px;
  width: auto;
  display: block;
  object-fit: contain;
}

.logo-text {
  display: inline;
}

.nav-links {
  display: flex;
  flex-direction: row;
  direction: rtl;
  gap: 1.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--color-text-soft);
  font-weight: 500;
}

.nav-links a:hover {
  color: var(--color-rose);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.25rem;
}

/* ---- Hero ---- */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6rem 1.5rem 4rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--color-cream) url('https://images.unsplash.com/photo-1604654894610-df63bc536371?w=1200') center/cover no-repeat;
}

/* שכבת כיסוי כדי שהטקסט יישאר קריא */
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 245, 248, 0.92) 0%, rgba(255, 228, 236, 0.88) 50%, rgba(255, 245, 248, 0.9) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 560px;
}

.hero h1 {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  margin: 0 0 0.5rem;
  color: var(--color-text);
  letter-spacing: -0.02em;
}

.hero-sub {
  font-size: 1.2rem;
  color: var(--color-text-soft);
  margin: 0 0 0.5rem;
}

.hero-text {
  font-size: 1rem;
  color: var(--color-text-soft);
  margin: 0 0 0.75rem;
  line-height: 1.65;
  text-align: center;
}

.hero-highlights {
  list-style: none;
  margin: 0.75rem 0 0.5rem;
  padding: 0;
  font-size: 1rem;
  color: var(--color-rose-deep);
  font-weight: 500;
}

.hero-highlights li {
  margin: 0.25rem 0;
}

.hero-cta-text {
  font-size: 1rem;
  color: var(--color-text-soft);
  margin: 0 0 1.25rem;
  font-style: italic;
}

.hero-price {
  margin: 0 0 1.5rem;
  font-size: 1.15rem;
}

.price-amount {
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--color-text);
}

.price-note {
  display: block;
  font-size: 0.9rem;
  color: var(--color-text-soft);
  font-weight: 400;
  margin-top: 0.2rem;
}

/* ---- Buttons ---- */
.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  font-family: var(--font-heebo);
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, color 0.2s, background 0.2s;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-rose) 0%, var(--color-rose-deep) 100%);
  color: var(--color-white);
  box-shadow: 0 4px 20px rgba(233, 30, 140, 0.4);
}

.btn-primary:hover,
a.btn-primary:hover {
  background: var(--color-rose-hover);
  color: var(--color-text);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(247, 198, 236, 0.5);
}

/* כפתור ה־HERO – בולט ויפה */
.btn-hero {
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  border-radius: 50px;
  box-shadow: 0 6px 24px rgba(194, 24, 91, 0.35);
  border: 2px solid rgba(255, 255, 255, 0.4);
}

.btn-hero:hover,
a.btn-hero:hover {
  box-shadow: 0 10px 32px rgba(194, 24, 91, 0.45);
  border-color: rgba(255, 255, 255, 0.6);
}

/* ---- Sections ---- */
.section {
  padding: 4rem 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.section h2 {
  font-size: 1.85rem;
  margin: 0 0 1.5rem;
  color: var(--color-text);
  text-align: center;
}

.section h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--color-rose), var(--color-rose-deep));
  margin: 0.75rem auto 0;
  border-radius: 2px;
}

.container {
  max-width: 800px;
  margin: 0 auto;
}

.lead {
  font-size: 1.15rem;
  color: var(--color-text-soft);
  text-align: center;
  margin: 0 0 1.25rem;
  max-width: 640px;
  margin-inline: auto;
}

.about-p {
  font-size: 1.05rem;
  color: var(--color-text-soft);
  margin: 0 0 1rem;
  max-width: 640px;
  margin-inline: auto;
  text-align: center;
  line-height: 1.7;
}

/* ---- About / Features ---- */
.about {
  background: var(--color-white);
  box-shadow: var(--shadow-soft);
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.feature {
  text-align: center;
  padding: 1.5rem 1rem;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--color-rose-light);
  transition: transform 0.2s;
}

.feature:hover {
  transform: translateY(-4px);
}

.feature-icon {
  font-size: 2rem;
  display: block;
  margin-bottom: 0.75rem;
}

.feature h3 {
  font-size: 1.15rem;
  margin: 0 0 0.35rem;
  color: var(--color-text);
}

.feature p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--color-text-soft);
}

/* ---- Content list ---- */
.content-section {
  background: linear-gradient(180deg, var(--color-cream) 0%, var(--color-bg) 100%);
}

.content-section .section h2::after {
  background: linear-gradient(90deg, var(--color-rose-deep), var(--color-rose));
}

.content-intro {
  text-align: center;
  color: var(--color-text-soft);
  margin: 0 0 1.25rem;
  max-width: 560px;
  margin-inline: auto;
}

.content-outro {
  text-align: center;
  color: var(--color-text-soft);
  margin: 1.25rem 0 0;
  max-width: 520px;
  margin-inline: auto;
  font-weight: 500;
}

.content-list {
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 520px;
  margin-inline: auto;
}

.content-list li {
  position: relative;
  padding: 0.75rem 2.5rem 0.75rem 0;
  border-bottom: 1px solid rgba(61, 50, 50, 0.08);
  color: var(--color-text-soft);
}

.content-list li::before {
  content: '✓';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1.5rem;
  height: 1.5rem;
  background: var(--color-rose);
  color: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: bold;
  flex-shrink: 0;
}

/* ---- Instructor ---- */
.instructor .container {
  max-width: 700px;
}

.instructor-card {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 2rem;
  align-items: start;
  background: var(--color-white);
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--color-rose-light);
}

.instructor-placeholder,
.instructor-card .instructor-img-wrap {
  aspect-ratio: 1;
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(145deg, var(--color-cream) 0%, var(--color-rose-light) 100%);
}

.instructor-card .instructor-img-wrap.instructor-img-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-rose-deep);
  font-weight: 600;
  font-size: 0.95rem;
  text-align: center;
  padding: 1rem;
}

.instructor-card .instructor-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.instructor-placeholder {
  opacity: 0.9;
}

.instructor-info p {
  margin: 0 0 0.85rem;
  color: var(--color-text-soft);
  line-height: 1.7;
}

.instructor-info p:last-child {
  margin-bottom: 0;
}

/* ---- פרטי הקורס ---- */
.details-section {
  background: var(--color-white);
  box-shadow: var(--shadow-soft);
}

.details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.25rem;
  margin: 0 0 2rem;
  max-width: 560px;
  margin-inline: auto;
}

.details-item {
  text-align: center;
  padding: 1rem;
  background: var(--color-bg);
  border-radius: var(--radius);
  border: 1px solid var(--color-rose-light);
}

.details-label {
  display: block;
  font-size: 0.9rem;
  color: var(--color-text-soft);
  margin-bottom: 0.35rem;
}

.details-value {
  font-weight: 600;
  color: var(--color-text);
}

.details-included {
  max-width: 360px;
  margin: 0 auto 2rem;
}

.details-included h3 {
  font-size: 1.1rem;
  margin: 0 0 0.75rem;
  color: var(--color-text);
  text-align: center;
}

.details-included ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.details-included li {
  position: relative;
  padding: 0.4rem 2.5rem 0.4rem 0;
  color: var(--color-text-soft);
}

.details-included li::before {
  content: '✓';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-rose);
  font-weight: bold;
  font-size: 1rem;
}

.details-price {
  text-align: center;
  font-size: 1.35rem;
  color: var(--color-text);
  margin: 2rem 0 0;
}

.details-price strong {
  color: var(--color-rose-deep);
}

/* ---- תיק עבודות & לקוחות מרוצים ---- */
.portfolio-section,
.testimonials-section {
  background: var(--color-bg);
}

.section-placeholder {
  text-align: center;
  color: var(--color-text-soft);
  margin: 0 0 1.5rem;
  font-size: 1rem;
}

.portfolio-placeholder,
.testimonials-placeholder {
  min-height: 180px;
  background: var(--color-cream);
  border: 2px dashed var(--color-rose-light);
  border-radius: var(--radius-lg);
  margin: 0 auto;
  max-width: 800px;
}

/* ---- Contact ---- */
.contact {
  background: var(--color-white);
  box-shadow: var(--shadow-soft);
}

.contact-intro {
  text-align: center;
  color: var(--color-text-soft);
  margin: 0 0 1rem;
  max-width: 560px;
  margin-inline: auto;
}

.contact-intro + .contact-intro {
  margin-bottom: 2rem;
}

.contact-cta-wrap {
  text-align: center;
  margin: 0;
}

.btn-cta {
  font-size: 1.1rem;
  padding: 1rem 2.25rem;
}

.contact-form {
  max-width: 420px;
  margin: 0 auto 1.5rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-weight: 500;
  margin-bottom: 0.4rem;
  color: var(--color-text);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--font-heebo);
  font-size: 1rem;
  border: 1px solid var(--color-cream);
  border-radius: var(--radius);
  background: var(--color-bg);
  color: var(--color-text);
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-rose);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.contact-form .btn {
  width: 100%;
}

/* ---- וולידציה ---- */
.form-group.has-error input,
.form-group.has-error textarea {
  border-color: var(--color-rose-deep);
  background: #fff8f9;
}

.form-group .error-message {
  display: block;
  font-size: 0.85rem;
  color: var(--color-rose-deep);
  margin-top: 0.35rem;
  min-height: 1.2em;
}

.form-group .required {
  color: var(--color-rose-deep);
}

/* ---- דף הרשמה ---- */
.register-page {
  padding-top: 4rem;
}

.register-section {
  padding: 2rem 1.5rem 4rem;
}

.register-container {
  max-width: 480px;
  margin: 0 auto;
}

.register-title {
  font-size: 1.9rem;
  text-align: center;
  margin: 0 0 0.5rem;
  color: var(--color-text);
}

.register-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--color-rose), var(--color-rose-deep));
  margin: 0.75rem auto 0;
  border-radius: 2px;
}

.register-intro {
  text-align: center;
  color: var(--color-text-soft);
  margin: 0 0 2rem;
}

.register-form {
  background: var(--color-white);
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--color-rose-light);
}

.register-form .form-group {
  margin-bottom: 1.35rem;
}

.btn-submit {
  width: 100%;
  margin-top: 0.5rem;
}

.register-note {
  text-align: center;
  font-size: 0.9rem;
  color: var(--color-text-soft);
  margin: 1rem 0 0;
}

.contact-note {
  text-align: center;
  font-size: 0.9rem;
  color: var(--color-text-soft);
  margin: 0;
}

/* ---- Footer ---- */
.footer {
  padding: 1.5rem;
  text-align: center;
  background: linear-gradient(135deg, var(--color-rose-deep) 0%, var(--color-rose) 100%);
  color: var(--color-white);
  font-size: 0.9rem;
}

.footer p {
  margin: 0;
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    background: var(--color-white);
    padding: 1rem;
    box-shadow: var(--shadow-card);
    gap: 0.5rem;
  }

  .hero {
    min-height: 75vh;
    padding: 5rem 1rem 3rem;
  }

  .instructor-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .instructor-placeholder,
  .instructor-card .instructor-img-wrap {
    max-width: 180px;
    margin: 0 auto;
  }
}

@media (max-width: 480px) {
  .features {
    grid-template-columns: 1fr;
  }
}
