/* ═══════════════════════════════════════════════════════
   בראשית — Landing Page Styles
   RTL, Hebrew, Premium construction brand
   ═══════════════════════════════════════════════════════ */

/* ─── Reset & Base ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --cream: #FAF7F2;
  --stone: #E8E0D4;
  --charcoal: #1A1A1A;
  --gold: #B8973A;
  --gold-light: #D4B56A;
  --warm-gray: #6B6259;
  --white: #FFFFFF;
  --radius: 8px;
  --shadow: 0 4px 24px rgba(0,0,0,0.10);
  --shadow-lg: 0 12px 48px rgba(0,0,0,0.15);
  --transition: 0.3s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Heebo', 'Segoe UI', Tahoma, Arial, sans-serif;
  background: var(--cream);
  color: var(--charcoal);
  direction: rtl;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* ─── Typography ─── */
h1, h2, h3 { font-weight: 700; line-height: 1.2; }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h3 { font-size: 1.25rem; }
p { color: var(--warm-gray); }

/* ─── Layout Utilities ─── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 80px 0; }
.section--dark { background: var(--charcoal); color: var(--white); }
.section--stone { background: var(--stone); }

/* ─── Header ─── */
.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 100;
  background: rgba(250, 247, 242, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--stone);
  transition: var(--transition);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.site-header__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.site-header__logo img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 50%;
}

.site-header__name {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--charcoal);
  letter-spacing: -0.5px;
}

.site-header__contact {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--charcoal);
  color: var(--white);
  text-decoration: none;
  padding: 10px 20px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
}

.site-header__contact:hover {
  background: var(--gold);
  transform: translateY(-1px);
}

/* ─── Hero ─── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--charcoal) 0%, #2C2C2C 50%, #3A3226 100%);
  position: relative;
  overflow: hidden;
  padding-top: 72px;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23B8973A' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(184, 151, 58, 0.15);
  border: 1px solid rgba(184, 151, 58, 0.4);
  color: var(--gold-light);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 24px;
}

.hero__badge svg { width: 16px; height: 16px; }

.hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: var(--white);
  max-width: 800px;
  margin: 0 auto;
}

.hero__title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
  letter-spacing: -1px;
}

.hero__title span { color: var(--gold); }

.hero__subtitle {
  font-size: 1.25rem;
  color: rgba(255,255,255,0.75);
  margin-bottom: 12px;
}

.hero__years {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 40px;
}

.hero__years strong { font-size: 3rem; display: block; }

.hero__ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: var(--transition);
  cursor: pointer;
  border: none;
}

.btn--primary {
  background: var(--gold);
  color: var(--charcoal);
}

.btn--primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(184, 151, 58, 0.4);
}

.btn--outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.3);
}

.btn--outline:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.1);
}

.btn--dark {
  background: var(--charcoal);
  color: var(--white);
}

.btn--dark:hover {
  background: #2a2a2a;
  transform: translateY(-2px);
}

/* ─── Stats Bar ─── */
.stats-bar {
  background: var(--stone);
  padding: 48px 0;
}

.stats-bar__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.stats-bar__item {}

.stats-bar__number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--gold);
  display: block;
}

.stats-bar__label {
  font-size: 0.9rem;
  color: var(--warm-gray);
  margin-top: 4px;
}

/* ─── Section Headers ─── */
.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-header__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--stone);
  color: var(--gold);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.section-header h2 { margin-bottom: 12px; }

.section-header p {
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

.section--dark .section-header p { color: rgba(255,255,255,0.6); }
.section--dark .section-header h2 { color: var(--white); }

/* ─── Services Grid ─── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.service-card {
  background: var(--white);
  border-radius: 12px;
  padding: 28px 20px;
  text-align: center;
  box-shadow: var(--shadow);
  border: 1px solid var(--stone);
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold);
}

.service-card__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  background: var(--stone);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: var(--transition);
}

.service-card:hover .service-card__icon {
  background: var(--gold);
}

.service-card__name {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--charcoal);
}

/* ─── Gallery ─── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img { transform: scale(1.08); }

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(184,151,58,0.3), transparent);
  opacity: 0;
  transition: var(--transition);
}

.gallery-item:hover::after { opacity: 1; }

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0,0,0,0.92);
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.lightbox.active { display: flex; }

.lightbox__img {
  max-width: 90%;
  max-height: 90vh;
  border-radius: var(--radius);
  object-fit: contain;
}

.lightbox__close {
  position: absolute;
  top: 24px;
  left: 24px;
  width: 48px;
  height: 48px;
  background: rgba(255,255,255,0.1);
  border: none;
  border-radius: 50%;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.lightbox__close:hover { background: rgba(255,255,255,0.25); }

.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.1);
  border: none;
  border-radius: 50%;
  color: white;
  width: 52px;
  height: 52px;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.lightbox__nav:hover { background: rgba(255,255,255,0.25); }
.lightbox__nav--prev { right: 24px; }
.lightbox__nav--next { left: 24px; }

/* ─── Testimonials (Placeholder) ─── */
.testimonials-coming {
  text-align: center;
  padding: 48px;
  background: var(--stone);
  border-radius: 16px;
  border: 2px dashed var(--gold);
}

.testimonials-coming__icon { font-size: 3rem; margin-bottom: 16px; }
.testimonials-coming h3 { color: var(--charcoal); margin-bottom: 8px; }
.testimonials-coming p { color: var(--warm-gray); }

/* ─── CTA Section ─── */
.cta-section {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  padding: 80px 0;
  text-align: center;
}

.cta-section h2 { color: var(--charcoal); margin-bottom: 12px; }
.cta-section p { color: rgba(26,26,26,0.7); font-size: 1.1rem; margin-bottom: 32px; }

.cta-section .btn {
  background: var(--charcoal);
  color: var(--white);
}

.cta-section .btn:hover {
  background: #2a2a2a;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* ─── Footer ─── */
.site-footer {
  background: var(--charcoal);
  color: var(--white);
  padding: 48px 0 24px;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.site-footer__brand-name {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.site-footer__brand-desc {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  line-height: 1.6;
}

.site-footer__col h4 {
  color: var(--gold);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.site-footer__col p, .site-footer__col a {
  color: rgba(255,255,255,0.7);
  font-size: 0.95rem;
  line-height: 2;
}

.site-footer__col a {
  text-decoration: none;
  display: block;
  transition: var(--transition);
}

.site-footer__col a:hover { color: var(--gold); }

.site-footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  text-align: center;
  color: rgba(255,255,255,0.4);
  font-size: 0.875rem;
}

/* ─── WhatsApp Floating Button ─── */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  left: 28px;
  z-index: 999;
  width: 64px;
  height: 64px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.5);
  transition: var(--transition);
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.6);
}

.whatsapp-float svg { width: 32px; height: 32px; fill: white; }

/* ─── Scroll Animations ─── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ─── Responsive ─── */
@media (max-width: 900px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-bar__grid { grid-template-columns: repeat(2, 1fr); }
  .site-footer__grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .stats-bar__grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .hero__ctas { flex-direction: column; align-items: center; }
  .site-header__contact span { display: none; }
  .section { padding: 56px 0; }
}