/* ==========================================
   עו"ד רויטל מלאך — Landing Page Styles
   RTL | Mobile-First | Luxury Boutique
   ========================================== */

:root {
  --ivory:    #F8F2E8;
  --offwhite: #FBF7F0;
  --beige:    #F3E9D7;
  --sand:     #E5D6BE;
  --charcoal: #1C1A17;
  --gold:     #C49A48;
  --dark:     #2A2620;
  --muted:    #6E6655;
  --radius:   12px;
  --font-heading: 'Frank Ruhl Libre', Georgia, serif;
  --font-body:    'Assistant', Arial, sans-serif;
  --transition: 0.35s ease;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  direction: rtl;
  font-family: var(--font-body);
  background: var(--ivory);
  color: var(--dark);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ---- Utilities ---- */
.container {
  width: 92%;
  max-width: 1160px;
  margin-inline: auto;
}
.gold-line {
  width: 60px;
  height: 2px;
  background: var(--gold);
  margin-bottom: 1.5rem;
}
.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 2.2rem);
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}
.section-sub {
  font-size: 1.05rem;
  color: var(--muted);
  margin-bottom: 2.5rem;
  max-width: 580px;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.8rem;
  border-radius: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-gold {
  background: var(--gold);
  color: #fff;
}
.btn-gold:hover { background: #b08a3a; transform: translateY(-2px); }
.btn-dark {
  background: var(--charcoal);
  color: var(--gold);
}
.btn-dark:hover { background: #0e0d0b; transform: translateY(-2px); }
.btn-outline-gold {
  background: transparent;
  color: var(--gold);
  border: 2px solid var(--gold);
}
.btn-outline-gold:hover { background: var(--gold); color: #fff; }

/* ==========================================
   HEADER
   ========================================== */
#header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--ivory);
  border-bottom: 1px solid var(--sand);
  padding: 0.75rem 0;
  transition: box-shadow 0.3s;
}
#header.scrolled { box-shadow: 0 2px 18px rgba(0,0,0,0.08); }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}
.logo-img {
  height: 72px;
  width: auto;
  object-fit: contain;
  display: block;
  mix-blend-mode: darken;
}
nav { display: flex; align-items: center; gap: 2rem; }
nav a {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--dark);
  transition: color var(--transition);
  position: relative;
}
nav a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  right: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width var(--transition);
}
nav a:hover { color: var(--gold); }
nav a:hover::after { width: 100%; }
.header-cta { font-size: 0.85rem; padding: 0.55rem 1.2rem; }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dark);
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile nav overlay */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0; right: 0; bottom: 0; left: 0;
  background: rgba(248,242,232,0.98);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--dark);
  transition: color var(--transition);
}
.mobile-nav a:hover { color: var(--gold); }
.mobile-nav-close {
  position: absolute;
  top: 1.2rem;
  left: 1.2rem;
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  color: var(--dark);
  line-height: 1;
}

/* ==========================================
   HERO
   ========================================== */
#hero {
  background: var(--ivory);
  padding: 5rem 0 4rem;
  overflow: hidden;
  position: relative;
}
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.hero-bg svg {
  position: absolute;
  top: -60px;
  left: -80px;
  width: 700px;
  opacity: 0.12;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 3rem;
}
.hero-text { order: 1; }
.hero-image { order: 2; }
.hero-badge {
  display: inline-block;
  background: var(--beige);
  border: 1px solid var(--sand);
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 0.35rem 1rem;
  border-radius: 50px;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}
.hero-h1 {
  font-family: var(--font-heading);
  font-size: clamp(1.9rem, 4.5vw, 3rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--dark);
  margin-bottom: 1.2rem;
}
.hero-h1 .highlight {
  color: var(--gold);
  position: relative;
  display: inline-block;
}
.hero-sub {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 2rem;
  max-width: 480px;
}
.hero-cta-group { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-img-wrap {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--beige);
  max-width: 430px;
  margin-inline: auto;
  box-shadow: 0 8px 40px rgba(44,36,28,0.12);
}
.hero-img-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  border: 2px solid rgba(196,154,72,0.2);
  pointer-events: none;
}
.hero-img-wrap img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  object-position: top center;
}

/* ==========================================
   TRUST BAR
   ========================================== */
#trust-bar {
  background: var(--charcoal);
  padding: 1rem 0;
}
.trust-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 2rem;
  color: var(--ivory);
  font-size: 0.9rem;
  font-weight: 500;
}
.trust-sep {
  width: 1px;
  height: 22px;
  background: var(--gold);
  opacity: 0.7;
}
.trust-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}

/* ==========================================
   SERVICES
   ========================================== */
#services {
  background: var(--offwhite);
  padding: 5rem 0;
}
.services-header { margin-bottom: 3rem; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.service-card {
  background: #fff;
  border: 1px solid var(--sand);
  border-radius: var(--radius);
  padding: 1.6rem 1.5rem;
  transition: box-shadow var(--transition), transform var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 3px;
  height: 0;
  background: var(--gold);
  transition: height 0.4s ease;
}
.service-card:hover::before { height: 100%; }
.service-card:hover {
  box-shadow: 0 4px 24px rgba(44,36,28,0.09);
  transform: translateY(-3px);
}
.service-icon {
  width: 44px;
  height: 44px;
  background: var(--beige);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--gold);
  font-size: 1.3rem;
}
.service-name {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.4rem;
}
.service-desc {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ==========================================
   ABOUT
   ========================================== */
#about {
  background: var(--ivory);
  padding: 5rem 0;
}
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
}
.about-img-wrap {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--beige);
  box-shadow: 0 8px 40px rgba(44,36,28,0.1);
}
.about-img-wrap img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  object-position: center 8%;
}
.about-decoration {
  display: none;
}
.about-text p {
  font-size: 1.02rem;
  line-height: 1.85;
  color: var(--muted);
  margin-bottom: 1.2rem;
}
.about-text p:last-of-type { margin-bottom: 2rem; }
.about-credentials {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}
.credential {
  text-align: center;
  padding: 1rem 1.5rem;
  background: var(--beige);
  border-radius: var(--radius);
  border: 1px solid var(--sand);
  min-width: 120px;
}
.credential-num {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  display: block;
}
.credential-label {
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 600;
  margin-top: 0.3rem;
  display: block;
}

/* ==========================================
   WHY ME
   ========================================== */
#why {
  background: var(--charcoal);
  padding: 5rem 0;
}
#why .section-title { color: var(--ivory); }
#why .section-sub { color: rgba(251,247,240,0.6); }
#why .gold-line { margin-bottom: 1rem; }
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}
.why-item {
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
}
.why-icon {
  width: 52px;
  height: 52px;
  background: rgba(196,154,72,0.12);
  border: 1px solid rgba(196,154,72,0.3);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--gold);
  font-size: 1.4rem;
}
.why-content h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ivory);
  margin-bottom: 0.4rem;
}
.why-content p {
  font-size: 0.9rem;
  color: rgba(251,247,240,0.6);
  line-height: 1.65;
}

/* ==========================================
   MEDIA / TIKTOK
   ========================================== */
#media {
  background: var(--beige);
  padding: 5rem 0;
}
.media-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}
.media-card {
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
  background: #000;
  border: 1px solid var(--sand);
}
.media-card:hover {
  box-shadow: 0 6px 28px rgba(44,36,28,0.15);
  transform: translateY(-3px);
}
.media-card video {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  background: #000;
}
.media-footer { text-align: center; }

/* ==========================================
   CONTACT
   ========================================== */
#contact {
  background: var(--charcoal);
  padding: 5rem 0;
}
.contact-inner { max-width: 700px; margin-inline: auto; text-align: center; }
#contact .section-title { color: var(--ivory); }
#contact .section-sub { color: rgba(251,247,240,0.6); margin-inline: auto; }
#contact .gold-line { margin-inline: auto; margin-bottom: 1.2rem; }
.contact-cta-wrap { margin: 2rem 0 3rem; }
.contact-cta-wrap .btn { font-size: 1.15rem; padding: 1rem 2.5rem; }
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  align-items: center;
  margin-bottom: 2rem;
}
.contact-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: rgba(251,247,240,0.75);
  font-size: 0.95rem;
  transition: color var(--transition);
}
.contact-item:hover { color: var(--gold); }
.contact-item svg { color: var(--gold); flex-shrink: 0; }
.contact-socials {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 1.5rem;
}
.social-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(196,154,72,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  transition: background var(--transition), border-color var(--transition);
}
.social-btn:hover { background: var(--gold); color: #fff; border-color: var(--gold); }
.divider-gold {
  width: 60px;
  height: 1px;
  background: rgba(196,154,72,0.4);
  margin: 2rem auto;
}

/* ==========================================
   FOOTER
   ========================================== */
#footer {
  background: #0e0d0b;
  padding: 2rem 0;
  text-align: center;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.footer-logo-text {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--ivory);
}
.footer-copy {
  font-size: 0.78rem;
  color: rgba(251,247,240,0.35);
}
.footer-links {
  display: flex;
  gap: 1.5rem;
}
.footer-links a {
  font-size: 0.8rem;
  color: rgba(251,247,240,0.4);
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--gold); }

/* ==========================================
   FLOATING WHATSAPP
   ========================================== */
.float-wa {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  z-index: 999;
  width: 58px;
  height: 58px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  transition: transform var(--transition), box-shadow var(--transition);
}
.float-wa:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37,211,102,0.5);
}
.float-wa svg { width: 30px; height: 30px; }

/* ==========================================
   ANIMATIONS (scroll reveal)
   ========================================== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ==========================================
   ACCESSIBILITY TOOLBAR PLACEHOLDER
   ========================================== */
.a11y-bar {
  position: fixed;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  z-index: 998;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.a11y-btn {
  width: 36px;
  height: 36px;
  background: var(--charcoal);
  color: var(--ivory);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: background var(--transition);
  border-radius: 0 4px 4px 0;
}
.a11y-btn:hover { background: var(--gold); }

/* ==========================================
   RESPONSIVE
   ========================================== */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  nav { display: none; }
  .header-cta.desktop-only { display: none; }
  .hamburger { display: flex; }

  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-text { order: 2; }
  .hero-image { order: 1; }
  .hero-img-wrap img { height: 360px; }
  .hero-cta-group { justify-content: center; }
  .hero-sub { margin-inline: auto; }
  .gold-line { margin-inline: auto; }
  .section-sub { margin-inline: auto; }

  .trust-item { padding: 0.4rem 1rem; font-size: 0.82rem; }
  .trust-sep { display: none; }
  .trust-inner { gap: 0.5rem; }

  .services-grid { grid-template-columns: 1fr; }

  .about-inner { grid-template-columns: 1fr; gap: 2rem; }
  .about-img-wrap img { height: 320px; }
  .about-decoration { display: none; }

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

  .media-cards { grid-template-columns: 1fr; max-width: 380px; margin-inline: auto; }

  .a11y-bar { display: none; }
}

@media (max-width: 480px) {
  .hero-h1 { font-size: 1.7rem; }
  .btn { font-size: 0.9rem; padding: 0.75rem 1.4rem; }
  #hero { padding: 3rem 0 3rem; }
  .credential { min-width: 100px; padding: 0.8rem 1rem; }
}
