﻿/*
Theme Name: Dr. Landing
Theme URI: https://example.com
Author: Rovo Dev
Description: A modern, high-conversion doctor landing page theme.
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: dr-landing
Tags: one-page, landing-page, medical, responsive
*/

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --gold:      #c9a84c;
  --gold-light:#e8c96d;
  --gold-dark: #9e7a2f;
  --dark:      #0a0a0a;
  --dark2:     #111111;
  --dark3:     #1a1a1a;
  --white:     #ffffff;
  --gray:      #888888;
  --light:     #f5f0e8;
  --radius:    12px;
  --transition:0.3s ease;
  --shadow:    0 8px 40px rgba(0,0,0,0.4);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Cairo', 'Tajawal', sans-serif;
  background: var(--dark);
  color: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
  direction: rtl;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--dark2); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 3px; }

/* ============================================================
   NAVBAR
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 18px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.4s ease;
}
.site-header.scrolled {
  background: rgba(10,10,10,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 12px 40px;
  box-shadow: 0 2px 30px rgba(0,0,0,0.5);
}
.site-logo {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--gold);
  letter-spacing: 1px;
}
.site-logo span { color: var(--white); }
.nav-cta { display: flex; gap: 12px; align-items: center; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  white-space: nowrap;
  text-decoration: none;
  line-height: 1;
}
.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--dark);
  box-shadow: 0 4px 20px rgba(201,168,76,0.4);
}
.btn-gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(201,168,76,0.6);
}
.btn-whatsapp {
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(37,211,102,0.35);
}
.btn-whatsapp:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(37,211,102,0.55);
}
.btn-outline {
  background: transparent;
  color: var(--gold);
  border: 2px solid var(--gold);
}
.btn-outline:hover {
  background: var(--gold);
  color: var(--dark);
  transform: translateY(-3px);
}
.btn-lg { padding: 18px 42px; font-size: 1.05rem; }
.btn svg { width: 20px; height: 20px; flex-shrink: 0; }

/* ============================================================
   LAYOUT
   ============================================================ */
.section { padding: 100px 0; position: relative; }
.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.section-badge {
  display: inline-block;
  background: rgba(201,168,76,0.1);
  border: 1px solid rgba(201,168,76,0.3);
  color: var(--gold);
  padding: 6px 18px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 16px;
}
.section-title span { color: var(--gold); }
.section-subtitle { color: var(--gray); font-size: 1.05rem; max-width: 560px; }
.text-center { text-align: center; }
.text-center .section-subtitle { margin: 0 auto; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 60% at 70% 50%, rgba(201,168,76,0.09) 0%, transparent 60%),
    linear-gradient(180deg, #0a0a0a 0%, #111111 100%);
  z-index: 0;
}
.hero-particles {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(201,168,76,0.1);
  border: 1px solid rgba(201,168,76,0.25);
  color: var(--gold-light);
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 24px;
}
.hero-badge-dot {
  width: 8px; height: 8px;
  background: var(--gold);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%,100%{opacity:1;transform:scale(1)}
  50%{opacity:0.5;transform:scale(1.5)}
}
.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 20px;
}
.hero-title span { color: var(--gold); }
.hero-desc { color: var(--gray); font-size: 1.1rem; margin-bottom: 36px; max-width: 480px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.07);
}
.stat-num { font-size: 2rem; font-weight: 900; color: var(--gold); line-height: 1; }
.stat-label { font-size: 0.8rem; color: var(--gray); margin-top: 4px; }

/* VIDEO CARD */
.hero-video-wrap { position: relative; }
.video-glow {
  position: absolute;
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(201,168,76,0.18) 0%, transparent 70%);
  border-radius: 50%;
  top: -60px; right: -60px;
  pointer-events: none;
  animation: floatglow 6s ease-in-out infinite;
  z-index: 0;
}
@keyframes floatglow {
  0%,100%{transform:translateY(0) scale(1)}
  50%{transform:translateY(-24px) scale(1.06)}
}
.video-card {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  background: var(--dark3);
  box-shadow: 0 0 0 1px rgba(201,168,76,0.18), var(--shadow), 0 0 80px rgba(201,168,76,0.07);
  aspect-ratio: 9/16;
  max-height: 580px;
  z-index: 1;
}
.video-card video {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}
.video-overlay {
  position: absolute; inset: 0; z-index: 2;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,0.3);
  cursor: pointer;
  transition: opacity 0.3s ease;
}
.video-card.playing .video-overlay { opacity: 0; pointer-events: none; }
.play-circle {
  width: 84px; height: 84px;
  background: rgba(201,168,76,0.92);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 0 18px rgba(201,168,76,0.15), 0 8px 30px rgba(0,0,0,0.4);
  transition: all 0.3s ease;
}
.play-circle:hover {
  background: var(--gold-light);
  transform: scale(1.1);
  box-shadow: 0 0 0 26px rgba(201,168,76,0.1), 0 8px 40px rgba(0,0,0,0.5);
}
.play-circle svg { width: 34px; height: 34px; fill: var(--dark); margin-right: -4px; }
.video-label {
  position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%);
  z-index: 3;
  background: rgba(0,0,0,0.65);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(201,168,76,0.2);
  color: var(--white);
  padding: 8px 22px;
  border-radius: 50px;
  font-size: 0.8rem;
  white-space: nowrap;
}

/* ============================================================
   BEFORE & AFTER
   ============================================================ */
.results-section { background: var(--dark2); }
.results-section::before, .results-section::after {
  content: ''; position: absolute; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.results-section::before { top: 0; }
.results-section::after { bottom: 0; }

.ba-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  margin-top: 60px;
}
.ba-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--dark3);
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}
.ba-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.55), 0 0 0 1px rgba(201,168,76,0.22);
}
.ba-images { display: grid; grid-template-columns: 1fr 1fr; position: relative; }
.ba-side { position: relative; overflow: hidden; }
.ba-side img { width: 100%; height: 250px; object-fit: cover; display: block; transition: transform 0.5s ease; }
.ba-card:hover .ba-side img { transform: scale(1.05); }
.ba-tag {
  position: absolute; top: 10px;
  padding: 4px 12px; border-radius: 50px;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; z-index: 2;
}
.ba-side:first-child .ba-tag { right: 8px; background: rgba(239,68,68,0.85); color:#fff; }
.ba-side:last-child .ba-tag  { left: 8px;  background: rgba(34,197,94,0.85);  color:#fff; }
.ba-divider {
  position: absolute; top: 0; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 2px;
  background: linear-gradient(180deg, transparent, var(--gold) 30%, var(--gold) 70%, transparent);
  z-index: 3;
}
.ba-divider-icon {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 30px; height: 30px;
  background: var(--gold);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.65rem; font-weight: 800; color: var(--dark);
  box-shadow: 0 2px 12px rgba(0,0,0,0.5);
}
.ba-info { padding: 20px; border-top: 1px solid rgba(255,255,255,0.05); }
.ba-title { font-size: 1rem; font-weight: 700; margin-bottom: 6px; }
.ba-desc { font-size: 0.83rem; color: var(--gray); }

/* ============================================================
   SERVICES
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 24px;
  margin-top: 60px;
}
.service-card {
  background: var(--dark2);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all var(--transition);
}
.service-card::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0; transition: opacity var(--transition);
}
.service-card:hover::after { opacity: 1; }
.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(201,168,76,0.2);
  box-shadow: 0 20px 50px rgba(0,0,0,0.4), 0 0 0 1px rgba(201,168,76,0.1);
  background: var(--dark3);
}
.service-icon {
  width: 70px; height: 70px;
  background: rgba(201,168,76,0.08);
  border: 1px solid rgba(201,168,76,0.18);
  border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  font-size: 2rem;
  transition: all var(--transition);
}
.service-card:hover .service-icon {
  background: rgba(201,168,76,0.16);
  border-color: rgba(201,168,76,0.4);
  transform: scale(1.12) rotate(-4deg);
}
.service-name { font-size: 1.05rem; font-weight: 700; margin-bottom: 10px; }
.service-desc { font-size: 0.84rem; color: var(--gray); line-height: 1.65; }

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
  background: radial-gradient(ellipse 80% 60% at 50% 50%, rgba(201,168,76,0.07) 0%, transparent 70%), var(--dark2);
  text-align: center;
}
.cta-section::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.cta-card { max-width: 720px; margin: 0 auto; }
.cta-title { font-size: clamp(2rem, 4vw, 3rem); font-weight: 900; margin-bottom: 16px; }
.cta-title span { color: var(--gold); }
.cta-desc { color: var(--gray); font-size: 1.05rem; margin-bottom: 40px; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.cta-note { margin-top: 28px; font-size: 0.82rem; color: var(--gray); }
.cta-note strong { color: var(--gold-light); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--dark);
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 40px 24px;
  text-align: center;
}
.footer-logo { font-size: 1.3rem; font-weight: 800; color: var(--gold); margin-bottom: 12px; }
.footer-copy { font-size: 0.82rem; color: var(--gray); }

/* ============================================================
   FLOATING WHATSAPP
   ============================================================ */
.whatsapp-float {
  position: fixed; bottom: 28px; left: 28px; z-index: 999;
  width: 60px; height: 60px;
  background: linear-gradient(135deg, #25d366, #128c7e);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.45);
  transition: all 0.3s ease;
  animation: wabounce 3s ease-in-out infinite;
}
.whatsapp-float:hover { transform: scale(1.15); box-shadow: 0 8px 30px rgba(37,211,102,0.65); animation: none; }
.whatsapp-float svg { width: 30px; height: 30px; fill: #fff; }
@keyframes wabounce {
  0%,100%{transform:translateY(0)}
  50%{transform:translateY(-7px)}
}

/* SCROLL TOP */
.scroll-top {
  position: fixed; bottom: 28px; right: 28px; z-index: 999;
  width: 46px; height: 46px;
  background: rgba(201,168,76,0.12);
  border: 1px solid rgba(201,168,76,0.3);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; color: var(--gold);
  opacity: 0; pointer-events: none;
  transition: all 0.3s ease;
}
.scroll-top.visible { opacity: 1; pointer-events: all; }
.scroll-top:hover { background: var(--gold); color: var(--dark); transform: translateY(-3px); }

/* FADE ANIMATION */
.fade-up {
  opacity: 0; transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-up.delay-1 { transition-delay: 0.1s; }
.fade-up.delay-2 { transition-delay: 0.2s; }
.fade-up.delay-3 { transition-delay: 0.3s; }
.fade-up.delay-4 { transition-delay: 0.4s; }
.fade-up.delay-5 { transition-delay: 0.5s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .hero-desc { max-width: 100%; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-video-wrap { order: -1; max-width: 320px; margin: 0 auto; }
  .site-header { padding: 14px 20px; }
  .site-header.scrolled { padding: 10px 20px; }
}
@media (max-width: 600px) {
  .site-header { display: none; }
  .section { padding: 72px 0; }
  .hero { padding-top: 70px; }
  .hero-title { font-size: 2rem; }
  .hero-stats { gap: 20px; }
  .stat-num { font-size: 1.6rem; }
  .ba-side img { height: 180px; }
  .nav-cta .btn-outline { display: none; }
  .cta-actions { flex-direction: column; align-items: center; }
  .btn-lg { width: 100%; max-width: 320px; justify-content: center; }
}

