/* ===== BASE ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --black: #0a0a0a;
  --dark: #111111;
  --dark2: #1a1a1a;
  --gold: #c9a84c;
  --gold-light: #e8c97a;
  --white: #ffffff;
  --gray: #888888;
  --light: #f5f5f5;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Heebo', sans-serif;
  background: var(--black);
  color: var(--white);
  direction: rtl;
  line-height: 1.7;
}

a { color: inherit; text-decoration: none; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== NAV ===== */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px 40px;
  transition: background 0.3s;
}

#navbar.scrolled {
  background: rgba(10,10,10,0.95);
  backdrop-filter: blur(10px);
  padding: 14px 40px;
  border-bottom: 1px solid rgba(201,168,76,0.2);
}

.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 3px;
  color: var(--white);
}

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

#navbar ul {
  list-style: none;
  display: flex;
  gap: 32px;
  align-items: center;
}

#navbar ul a {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  transition: color 0.2s;
}

#navbar ul a:hover { color: var(--gold); }

.btn-nav {
  border: 1px solid var(--gold) !important;
  padding: 8px 20px !important;
  border-radius: 3px;
  color: var(--gold) !important;
  transition: all 0.2s !important;
}

.btn-nav:hover {
  background: var(--gold) !important;
  color: var(--black) !important;
}

/* ===== HERO ===== */
#hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 120px 24px 80px;
  background: var(--black);
  gap: 60px;
}

.hero-content {
  text-align: center;
}

.hero-content h1 {
  font-size: clamp(36px, 6vw, 72px);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 20px;
}

.hero-content p {
  font-size: clamp(16px, 2.5vw, 22px);
  color: rgba(255,255,255,0.85);
  margin-bottom: 40px;
  font-weight: 300;
}

.hero-showreel {
  width: 100%;
  max-width: 900px;
}

.showreel-frame {
  position: relative;
  aspect-ratio: 16/9;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(201,168,76,0.3);
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
}

.showreel-frame iframe {
  width: 100%;
  height: 100%;
  display: block;
}

.showreel-placeholder {
  position: absolute;
  inset: 0;
  background: var(--dark2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.showreel-placeholder span {
  font-size: 28px;
  font-weight: 900;
  letter-spacing: 6px;
  color: var(--gold);
}

.showreel-placeholder p {
  font-size: 16px;
  color: var(--gray);
  margin: 0;
}

.btn-primary {
  display: inline-block;
  background: var(--gold);
  color: var(--black);
  font-weight: 700;
  font-size: 16px;
  padding: 16px 40px;
  border-radius: 3px;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
}

.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(201,168,76,0.4);
}

/* ===== ABOUT ===== */
#about {
  padding: 100px 0;
  background: var(--dark);
}

.about-inner {
  max-width: 800px;
}

.about-text h2 {
  font-size: 48px;
  font-weight: 900;
  color: var(--gold);
  margin-bottom: 4px;
}

.about-text h3 {
  font-size: 18px;
  font-weight: 300;
  color: var(--gray);
  margin-bottom: 32px;
  letter-spacing: 2px;
}

.about-text p {
  font-size: 17px;
  color: rgba(255,255,255,0.8);
  margin-bottom: 20px;
  line-height: 1.9;
}

.clients-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 40px;
  align-items: center;
}

.client-logo {
  background: #e8e8e8;
  border-radius: 6px;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 56px;
  min-width: 100px;
}

.client-logo img {
  max-height: 40px;
  max-width: 110px;
  width: auto;
  object-fit: contain;
  opacity: 0.85;
  transition: opacity 0.2s;
}

.client-logo:hover img { opacity: 1; }

.client-logo span {
  color: rgba(255,255,255,0.6);
  font-size: 14px;
  font-weight: 500;
}

/* ===== SERVICES ===== */
#services {
  padding: 100px 0;
  background: var(--black);
}

.section-title {
  font-size: 40px;
  font-weight: 900;
  text-align: center;
  margin-bottom: 60px;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--gold);
  margin: 16px auto 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--dark2);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 6px;
  padding: 36px 28px;
  cursor: pointer;
  transition: all 0.3s;
}

.service-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(201,168,76,0.15);
}

.service-icon {
  font-size: 36px;
  margin-bottom: 20px;
}

.service-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--white);
}

.service-card p {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.7;
}

.service-card--ai {
  border-color: rgba(201,168,76,0.4);
  background: linear-gradient(135deg, var(--dark2) 0%, rgba(201,168,76,0.06) 100%);
}

.service-card--ai h3 { color: var(--gold); }

/* ===== PORTFOLIO ===== */
#portfolio {
  padding: 100px 0;
  background: var(--dark);
}

.category-desc { margin-bottom: 40px; }

.cat-text { display: none; }
.cat-text.active { display: block; }

.cat-text h3 {
  font-size: 24px;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 16px;
}

.cat-text p {
  font-size: 15px;
  color: rgba(255,255,255,0.75);
  line-height: 1.9;
  margin-bottom: 12px;
  max-width: 860px;
}

.portfolio-sub {
  text-align: center;
  color: var(--gray);
  font-size: 15px;
  margin-bottom: 40px;
  margin-top: -20px;
}

.portfolio-sub a {
  color: var(--gold);
  text-decoration: none;
}

.portfolio-tabs {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.tab-btn {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.6);
  padding: 10px 22px;
  border-radius: 3px;
  cursor: pointer;
  font-family: 'Heebo', sans-serif;
  font-size: 14px;
  transition: all 0.2s;
}

.tab-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(201,168,76,0.08);
}

.tab-btn.active {
  border-color: var(--gold);
  color: #000;
  background: var(--gold);
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(201,168,76,0.4);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.video-card {
  cursor: pointer;
}

.video-card.hidden { display: none; }

.video-thumb {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  border-radius: 4px;
  background: var(--dark2);
}

.video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.video-thumb:hover img { transform: scale(1.05); }

.play-btn {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.4);
  color: white;
  font-size: 28px;
  opacity: 0;
  transition: opacity 0.2s;
}

.video-thumb:hover .play-btn { opacity: 1; }

.video-card p {
  font-size: 13px;
  color: var(--gray);
  margin-top: 8px;
  text-align: center;
}

/* ===== CONTACT ===== */
#contact {
  padding: 100px 0;
  background: var(--black);
}

.contact-sub {
  text-align: center;
  color: var(--gray);
  margin-top: -40px;
  margin-bottom: 60px;
  font-size: 16px;
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  max-width: 900px;
  margin: 0 auto;
}

.contact-info p {
  font-size: 18px;
  margin-bottom: 16px;
  color: rgba(255,255,255,0.85);
}

.contact-info a:hover { color: var(--gold); }

.btn-whatsapp {
  display: inline-block;
  margin-top: 12px;
  background: #25D366;
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  padding: 12px 24px;
  border-radius: 3px;
  transition: background 0.2s;
}

.btn-whatsapp:hover {
  background: #1ebe5d;
  color: #fff;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-form input,
.contact-form textarea {
  background: var(--dark2);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 4px;
  padding: 14px 18px;
  color: var(--white);
  font-family: 'Heebo', sans-serif;
  font-size: 15px;
  direction: rtl;
  transition: border-color 0.2s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--gold);
}

.contact-form textarea {
  height: 120px;
  resize: vertical;
}

/* ===== FOOTER ===== */
footer {
  background: var(--dark);
  text-align: center;
  padding: 30px;
  color: var(--gray);
  font-size: 13px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

/* ===== MODAL ===== */
#video-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}

#video-modal.open { display: flex; }

.modal-inner {
  position: relative;
  width: 90vw;
  max-width: 900px;
  aspect-ratio: 16/9;
}

.modal-inner iframe {
  width: 100%;
  height: 100%;
}

.close-btn {
  position: absolute;
  top: -40px;
  left: 0;
  background: none;
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
}

#cta-overlay {
  display: none;
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.85);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  border-radius: 4px;
}

#cta-overlay p {
  font-size: 26px;
  font-weight: 700;
  color: var(--white);
}

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

.btn-cta-continue {
  background: transparent;
  border: 2px solid rgba(255,255,255,0.6);
  color: var(--white);
  font-family: 'Heebo', sans-serif;
  font-weight: 700;
  font-size: 18px;
  padding: 16px 36px;
  border-radius: 3px;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}

.btn-cta-continue:hover {
  border-color: var(--white);
  color: var(--white);
}

#cta-overlay.visible { display: flex; }

.btn-cta-wa {
  background: #25D366;
  color: #fff;
  font-weight: 700;
  font-size: 18px;
  padding: 16px 36px;
  border-radius: 3px;
  transition: background 0.2s;
}

.btn-cta-wa:hover { background: #1ebe5d; }

/* ===== EXTRA SERVICES ===== */
#extra-services {
  background: var(--dark2);
  padding: 80px 0;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.extra-sub {
  text-align: center;
  color: var(--gray);
  font-size: 15px;
  margin-top: -20px;
  margin-bottom: 48px;
}

.extra-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 700px;
  margin: 0 auto;
}

.extra-card {
  border: 1px solid rgba(201,168,76,0.2);
  padding: 36px 32px;
  border-radius: 6px;
  transition: all 0.3s;
}

.extra-card:hover {
  border-color: var(--gold);
  box-shadow: 0 8px 30px rgba(201,168,76,0.1);
}

.extra-card h3 {
  color: var(--gold);
  font-size: 20px;
  margin-bottom: 12px;
}

.extra-card p {
  color: var(--gray);
  font-size: 14px;
  line-height: 1.7;
}

/* ===== STATS ===== */
#stats {
  background: var(--dark2);
  padding: 60px 0;
  border-top: 1px solid rgba(201,168,76,0.15);
  border-bottom: 1px solid rgba(201,168,76,0.15);
}

.stats-grid {
  display: flex;
  justify-content: center;
  gap: 80px;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.stat-num {
  font-size: 56px;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
}

.stat-label {
  font-size: 15px;
  color: var(--gray);
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* ===== BROSH DIGITAL ===== */
#brosh-digital {
  background: #050505;
  padding: 100px 0;
  border-top: 1px solid rgba(201,168,76,0.15);
  position: relative;
  overflow: hidden;
}

#brosh-digital::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    90deg,
    rgba(201,168,76,0.02) 0px,
    rgba(201,168,76,0.02) 1px,
    transparent 1px,
    transparent 80px
  );
  pointer-events: none;
}

.digital-header {
  text-align: center;
  margin-bottom: 64px;
}

.digital-tag {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 4px;
  color: var(--gold);
  border: 1px solid rgba(201,168,76,0.4);
  padding: 6px 16px;
  margin-bottom: 20px;
  font-family: monospace;
}

.digital-title {
  font-size: 36px;
  font-weight: 900;
  color: #fff;
  margin-bottom: 12px;
}

.digital-sub {
  color: var(--gray);
  font-size: 15px;
}

.digital-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(201,168,76,0.1);
  border: 1px solid rgba(201,168,76,0.1);
}

.digital-card {
  background: #050505;
  padding: 40px 28px;
  transition: background 0.3s;
}

.digital-card:hover {
  background: rgba(201,168,76,0.04);
}

.digital-num {
  font-family: monospace;
  font-size: 11px;
  color: var(--gold);
  letter-spacing: 2px;
  margin-bottom: 16px;
  opacity: 0.7;
}

.digital-line {
  width: 32px;
  height: 1px;
  background: var(--gold);
  margin-bottom: 20px;
  opacity: 0.5;
}

.digital-card h3 {
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 12px;
}

.digital-card p {
  color: var(--gray);
  font-size: 14px;
  line-height: 1.7;
}

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

@media (max-width: 600px) {
  .services-grid { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  #navbar ul { display: none; }
}
