/* === Reset & Base === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --navy: #0a1628; --blue: #1a3a5c; --electric: #2196F3;
  --electric-light: #64B5F6; --accent: #FFD54F; --white: #ffffff;
  --gray-50: #f8fafc; --gray-100: #f1f5f9; --gray-200: #e2e8f0;
  --gray-400: #94a3b8; --gray-600: #475569; --gray-800: #1e293b;
  --radius: 16px; --shadow: 0 4px 24px rgba(0,0,0,.08);
  --shadow-lg: 0 12px 40px rgba(0,0,0,.12);
  --transition: .3s cubic-bezier(.4,0,.2,1);
}
html { scroll-behavior: smooth; }
body {
  font-family: 'Heebo', sans-serif; direction: rtl; text-align: right;
  color: var(--gray-800); background: var(--white); line-height: 1.7;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
.container { max-width: 1140px; margin: 0 auto; padding: 0 20px; }

/* === Buttons === */
.btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 14px 32px;
  border-radius: 50px; font-size: 1.05rem; font-weight: 700; border: none;
  cursor: pointer; transition: var(--transition); font-family: inherit;
}
.btn-primary {
  background: linear-gradient(135deg, var(--electric), var(--electric-light));
  color: var(--white); box-shadow: 0 4px 20px rgba(33,150,243,.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(33,150,243,.45); }
.btn-whatsapp {
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: var(--white); box-shadow: 0 4px 20px rgba(37,211,102,.35);
}
.btn-whatsapp:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(37,211,102,.45); }
.btn-catalog {
  background: linear-gradient(135deg, #FF9800, #F57C00);
  color: var(--white); box-shadow: 0 4px 20px rgba(255,152,0,.3);
}
.btn-catalog:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(255,152,0,.4); }
.btn-midrag {
  background: linear-gradient(135deg, #FFC107, #FF8F00);
  color: var(--white); box-shadow: 0 4px 20px rgba(255,193,7,.3);
}
.btn-midrag:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(255,193,7,.4); }
.btn-midrag-pink {
  background: linear-gradient(135deg, #E91E63, #C2185B);
  color: var(--white); box-shadow: 0 4px 20px rgba(233,30,99,.3);
}
.btn-midrag-pink:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(233,30,99,.4); }
.btn svg { width: 20px; height: 20px; flex-shrink: 0; }

/* === Header === */
.header {
  position: fixed; top: 0; right: 0; left: 0; z-index: 100;
  padding: 16px 0; transition: var(--transition);
}
.header.scrolled {
  background: rgba(10,22,40,.95); backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0,0,0,.2); padding: 10px 0;
}
.header .container { display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 1.15rem; font-weight: 800; color: var(--white); }
.logo span { color: var(--accent); }
.header-logo-area { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.header-owner-img {
  width: 60px; height: 60px; border-radius: 50%; overflow: hidden;
  border: 2px solid rgba(255,255,255,0.2); box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
.header-owner-img img { width: 100%; height: 100%; object-fit: cover; }
.header-cta .btn { padding: 10px 22px; font-size: .9rem; }

/* === Hero === */
.hero {
  min-height: 100vh; display: flex; align-items: center; position: relative;
  background: linear-gradient(160deg, var(--navy) 0%, var(--blue) 50%, #0d2847 100%);
  overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 50%, rgba(33,150,243,.12) 0%, transparent 60%),
              radial-gradient(circle at 80% 20%, rgba(255,213,79,.06) 0%, transparent 40%);
}
.hero-grid {
  content: ''; position: absolute; inset: 0; opacity: .04;
  background-image: linear-gradient(rgba(255,255,255,.1) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.1) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero .container { position: relative; z-index: 2; text-align: center; padding: 120px 20px 80px; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 20px;
  background: rgba(255,213,79,.12); border: 1px solid rgba(255,213,79,.25);
  border-radius: 50px; color: var(--accent); font-size: .9rem; font-weight: 600;
  margin-bottom: 24px;
}
.hero-badge svg { width: 16px; height: 16px; }
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 900; color: var(--white);
  margin-bottom: 20px; line-height: 1.3;
}
.hero h1 span { color: var(--accent); }
.hero p { font-size: clamp(1rem, 2.5vw, 1.25rem); color: var(--gray-400); max-width: 600px; margin: 0 auto 36px; }
.hero-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero-stats {
  display: flex; justify-content: center; gap: 48px; margin-top: 60px;
  padding-top: 40px; border-top: 1px solid rgba(255,255,255,.08);
}
.hero-stats .stat { text-align: center; }
.hero-stats .stat-number { font-size: 2rem; font-weight: 800; color: var(--accent); }
.hero-stats .stat-label { font-size: .85rem; color: var(--gray-400); margin-top: 4px; }

/* === Section Common === */
.section { padding: 90px 0; }
.section-header { text-align: center; margin-bottom: 56px; }
.section-label {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 18px;
  background: rgba(33,150,243,.08); border-radius: 50px; color: var(--electric);
  font-size: .85rem; font-weight: 700; margin-bottom: 16px;
}
.section-title { font-size: clamp(1.6rem, 4vw, 2.2rem); font-weight: 800; color: var(--navy); margin-bottom: 12px; }
.section-subtitle { font-size: 1.05rem; color: var(--gray-600); max-width: 600px; margin: 0 auto; }

/* === About === */
.about { background: var(--gray-50); }
.about-card {
  background: var(--white); border-radius: var(--radius); padding: 48px;
  box-shadow: var(--shadow); border: 1px solid var(--gray-200);
  max-width: 800px; margin: 0 auto; text-align: center; position: relative; overflow: hidden;
}
.about-card::before {
  content: ''; position: absolute; top: 0; right: 0; left: 0; height: 4px;
  background: linear-gradient(90deg, var(--electric), var(--accent));
}
.about-card p { font-size: 1.1rem; color: var(--gray-600); line-height: 1.9; }

/* === Services === */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 32px; }
.service-card {
  background: var(--white); border-radius: var(--radius); padding: 40px 32px;
  box-shadow: var(--shadow); border: 1px solid var(--gray-200);
  transition: var(--transition); position: relative; overflow: hidden;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.service-card::after {
  content: ''; position: absolute; bottom: 0; right: 0; left: 0; height: 3px;
  background: linear-gradient(90deg, var(--electric), var(--accent)); opacity: 0;
  transition: var(--transition);
}
.service-card:hover::after { opacity: 1; }
.service-icon {
  width: 64px; height: 64px; border-radius: 16px; display: flex; align-items: center;
  justify-content: center; margin-bottom: 24px; font-size: 1.8rem;
}
.service-icon.electric { background: linear-gradient(135deg, rgba(33,150,243,.12), rgba(33,150,243,.04)); color: var(--electric); }
.service-icon.comm { background: linear-gradient(135deg, rgba(255,213,79,.15), rgba(255,213,79,.05)); color: #f59e0b; }
.service-card h3 { font-size: 1.35rem; font-weight: 800; color: var(--navy); margin-bottom: 20px; }
.service-list { list-style: none; }
.service-list li {
  padding: 10px 0; display: flex; align-items: center; gap: 12px;
  font-size: .95rem; color: var(--gray-600); border-bottom: 1px solid var(--gray-100);
}
.service-list li:last-child { border-bottom: none; }
.service-list li svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--electric); }

/* === Why Us === */
.why-us { background: linear-gradient(160deg, var(--navy), var(--blue)); color: var(--white); }
.why-us .section-title { color: var(--white); }
.why-us .section-subtitle { color: var(--gray-400); }
.why-us .section-label { background: rgba(255,213,79,.12); color: var(--accent); }
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; }
.why-card {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius); padding: 32px 24px; text-align: center;
  transition: var(--transition);
}
.why-card:hover { background: rgba(255,255,255,.1); transform: translateY(-4px); }
.why-card .icon {
  width: 56px; height: 56px; border-radius: 14px;
  background: linear-gradient(135deg, rgba(33,150,243,.2), rgba(33,150,243,.05));
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px; font-size: 1.5rem;
}
.why-card h4 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.why-card p { font-size: .85rem; color: var(--gray-400); line-height: 1.6; }

/* === Gallery === */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 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: var(--transition); }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item .overlay {
  position: absolute; inset: 0; display: flex; align-items: flex-end; padding: 20px;
  background: linear-gradient(to top, rgba(10,22,40,.7) 0%, transparent 60%);
  opacity: 0; transition: var(--transition);
}
.gallery-item:hover .overlay { opacity: 1; }
.gallery-item .overlay span { color: var(--white); font-weight: 600; font-size: .95rem; }

/* === Contact === */
.contact { background: var(--gray-50); }
.contact-card {
  max-width: 560px; margin: 0 auto; background: var(--white); border-radius: var(--radius);
  padding: 48px; box-shadow: var(--shadow-lg); text-align: center;
  border: 1px solid var(--gray-200); position: relative; overflow: hidden;
}
.contact-card::before {
  content: ''; position: absolute; top: 0; right: 0; left: 0; height: 4px;
  background: linear-gradient(90deg, var(--electric), var(--accent));
}
.contact-name { font-size: 1.5rem; font-weight: 800; color: var(--navy); margin-bottom: 8px; }
.contact-phone { font-size: 1.2rem; color: var(--electric); font-weight: 700; margin-bottom: 32px; direction: ltr; }
.contact-buttons { display: flex; flex-direction: column; gap: 14px; }
.contact-buttons .btn { justify-content: center; width: 100%; }

/* === Floating CTA === */
.floating-cta {
  position: fixed; bottom: 24px; left: 24px; z-index: 90; display: flex;
  flex-direction: column; gap: 12px; opacity: 0; transform: translateY(20px);
  transition: var(--transition); pointer-events: none;
}
.floating-cta.visible { opacity: 1; transform: translateY(0); pointer-events: all; }
.floating-btn {
  width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center;
  justify-content: center; box-shadow: 0 4px 20px rgba(0,0,0,.2);
  transition: var(--transition); border: none; cursor: pointer;
}
.floating-btn:hover { transform: scale(1.1); }
.floating-btn.whatsapp { background: #25D366; color: white; }
.floating-btn.phone { background: var(--electric); color: white; }
.floating-btn svg { width: 24px; height: 24px; }

/* === Footer === */
.footer {
  background: var(--navy); color: var(--gray-400); text-align: center;
  padding: 32px 0; font-size: .85rem;
}
.footer span { color: var(--accent); font-weight: 600; }

/* === Services CTA === */
.services-cta {
  text-align: center; margin-top: 40px;
}

/* === Trust / Midrag === */
.trust { background: var(--white); }
.trust-card {
  max-width: 640px; margin: 0 auto; text-align: center; background: var(--gray-50);
  border-radius: var(--radius); padding: 48px 40px; border: 1px solid var(--gray-200);
  box-shadow: var(--shadow); position: relative; overflow: hidden;
}
.trust-card::before {
  content: ''; position: absolute; top: 0; right: 0; left: 0; height: 4px;
  background: linear-gradient(90deg, #FFC107, #FF8F00);
}
.trust-icon {
  width: 72px; height: 72px; border-radius: 50%; display: flex; align-items: center;
  justify-content: center; margin: 0 auto 20px; font-size: 2rem;
  background: linear-gradient(135deg, rgba(255,193,7,.15), rgba(255,143,0,.05));
}
.trust-card h3 { font-size: 1.3rem; font-weight: 800; color: var(--navy); margin-bottom: 12px; }
.trust-card p { font-size: 1rem; color: var(--gray-600); line-height: 1.8; margin-bottom: 28px; }
.trust-card .btn { display: inline-flex; }

/* === Testimonials === */
.testimonials { background: var(--gray-50); }
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.testimonial-card {
  background: var(--white); border-radius: var(--radius); padding: 32px 28px;
  box-shadow: var(--shadow); border: 1px solid var(--gray-200);
  position: relative; transition: var(--transition);
}
.testimonial-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.testimonial-quote {
  font-size: 3rem; line-height: 1; color: var(--electric); opacity: .2;
  position: absolute; top: 16px; left: 20px; font-family: Georgia, serif;
}
.testimonial-stars { display: flex; gap: 3px; margin-bottom: 14px; }
.testimonial-stars svg { width: 18px; height: 18px; fill: #FFC107; }
.testimonial-card p {
  font-size: .95rem; color: var(--gray-600); line-height: 1.8;
  margin-bottom: 20px; min-height: 80px;
}
.testimonial-author { display: flex; align-items: center; gap: 14px; }
.testimonial-avatar {
  width: 48px; height: 48px; border-radius: 50%; display: flex;
  align-items: center; justify-content: center; font-size: 1.2rem;
  font-weight: 800; color: var(--white); flex-shrink: 0;
}
.testimonial-avatar.c1 { background: linear-gradient(135deg, var(--electric), var(--electric-light)); }
.testimonial-avatar.c2 { background: linear-gradient(135deg, #25D366, #128C7E); }
.testimonial-avatar.c3 { background: linear-gradient(135deg, #FF9800, #F57C00); }
.testimonial-avatar.c4 { background: linear-gradient(135deg, #9C27B0, #7B1FA2); }
.testimonial-avatar.c5 { background: linear-gradient(135deg, #E91E63, #C2185B); }
.testimonial-avatar.c6 { background: linear-gradient(135deg, #00BCD4, #0097A7); }
.testimonial-info h5 { font-size: .95rem; font-weight: 700; color: var(--navy); margin-bottom: 2px; }
.testimonial-info span { font-size: .8rem; color: var(--gray-400); }

/* === Floating catalog === */
.floating-btn.catalog { background: #FF9800; color: white; }

/* === Animations === */
.reveal { opacity: 0; transform: translateY(30px); transition: .7s cubic-bezier(.4,0,.2,1); }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* === Responsive === */
@media (max-width: 768px) {
  .hero-stats { gap: 24px; flex-wrap: wrap; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .about-card, .contact-card { padding: 32px 24px; }
  .section { padding: 64px 0; }
  .header-cta { display: none; }
}
@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .hero-buttons { flex-direction: column; align-items: center; }
  .btn { width: 100%; justify-content: center; }
}
