/* DronePro — עינב לוי — dronepro.co.il */
@font-face {
  font-family: "Heebo";
  src: url("../fonts/Heebo-VariableFont_wght.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #070d16;
  --bg-2: #0b1420;
  --bg-elev: #101b2c;
  --bg-card: #132033;
  --text: #f3f6fb;
  --text-soft: #d5deea;
  --muted: #93a4b8;
  --sky: #3aa0ff;
  --sky-2: #7ec8ff;
  --sky-deep: #1b6fd1;
  --gold: #e0b352;
  --gold-dim: rgba(224, 179, 82, 0.16);
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  --radius: 20px;
  --header-h: 76px;
  --container: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

html:focus-within { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Heebo", "Segoe UI", Tahoma, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-weight: 400;
  font-size: 1.05rem;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; height: auto; }

a { color: var(--sky-2); text-decoration: none; }
a:hover { color: #fff; }

button { font-family: inherit; }

.skip-link {
  position: absolute;
  top: -80px;
  right: 16px;
  background: var(--sky);
  color: #061018;
  padding: 10px 16px;
  z-index: 200;
  border-radius: 8px;
  font-weight: 700;
}
.skip-link:focus { top: 16px; }

.container {
  width: min(var(--container), calc(100% - 40px));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--header-h);
  z-index: 50;
  display: flex;
  align-items: center;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.35s var(--ease), border-color 0.35s, backdrop-filter 0.35s;
}
.site-header.scrolled {
  background: rgba(7, 13, 22, 0.82);
  backdrop-filter: blur(16px);
  border-bottom-color: var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(var(--container), calc(100% - 40px));
  margin-inline: auto;
  gap: 24px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
}
.logo:hover { color: var(--text); }
.logo-mark {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.logo-text strong {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}
.logo-text span {
  font-size: 0.75rem;
  color: var(--muted);
  font-weight: 500;
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav a {
  color: var(--text-soft);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 8px 12px;
  border-radius: 999px;
  transition: background 0.2s, color 0.2s;
}
.nav a:hover { background: rgba(255,255,255,0.06); color: #fff; }
.nav .nav-cta {
  background: var(--sky);
  color: #061018;
  font-weight: 700;
  padding: 10px 18px;
  margin-right: 6px;
}
.nav .nav-cta:hover { background: var(--sky-2); color: #061018; }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-strong);
  background: rgba(255,255,255,0.04);
  border-radius: 12px;
  color: #fff;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.nav-toggle svg { width: 22px; height: 22px; }

/* Hero */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  background: #070d16 url("../images/pilot.jpg") 74% 42% / cover no-repeat;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(7,13,22,0.96) 0%, rgba(7,13,22,0.78) 34%, rgba(7,13,22,0.28) 62%, rgba(7,13,22,0.38) 100%),
    linear-gradient(to left, rgba(7,13,22,0.15) 0%, transparent 40%);
  z-index: 1;
}
.hero-inner {
  position: relative;
  z-index: 2;
  width: min(var(--container), calc(100% - 40px));
  margin-inline: auto;
  padding: calc(var(--header-h) + 40px) 0 72px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--gold);
  font-weight: 600;
  font-size: 0.86rem;
  letter-spacing: 0.04em;
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 36px;
  height: 2px;
  background: var(--gold);
}
.hero h1 {
  margin: 0 0 10px;
  font-size: clamp(2.6rem, 7vw, 5.1rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
}
.hero .lead-title {
  margin: 0 0 18px;
  font-size: clamp(1.25rem, 2.6vw, 1.85rem);
  font-weight: 600;
  color: var(--sky-2);
  line-height: 1.35;
}
.hero .lead {
  max-width: 38rem;
  color: var(--text-soft);
  font-size: clamp(1.02rem, 1.6vw, 1.18rem);
  margin: 0 0 32px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 42px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  padding: 13px 22px;
  font-weight: 700;
  font-size: 1rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background 0.2s, color 0.2s, border-color 0.2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--sky); color: #061018; }
.btn-primary:hover { background: var(--sky-2); color: #061018; }
.btn-ghost {
  background: rgba(255,255,255,0.06);
  color: #fff;
  border-color: var(--line-strong);
}
.btn-ghost:hover { background: rgba(255,255,255,0.12); color: #fff; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  max-width: 920px;
}
.stat {
  padding: 16px 16px 14px;
  background: rgba(10, 18, 30, 0.55);
  border: 1px solid var(--line);
  border-radius: 16px;
  backdrop-filter: blur(10px);
}
.stat b {
  display: block;
  font-size: 1.05rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 2px;
}
.stat span {
  color: var(--muted);
  font-size: 0.86rem;
}

/* Sections */
.section {
  padding: 96px 0;
  position: relative;
}
.section-kicker {
  color: var(--sky);
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 10px;
}
.section h2 {
  margin: 0 0 16px;
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
}
.section-intro {
  color: var(--muted);
  max-width: 40rem;
  margin: 0 0 40px;
  font-size: 1.08rem;
}

/* About */
.about {
  background:
    radial-gradient(900px 400px at 10% 0%, rgba(58,160,255,0.08), transparent 60%),
    var(--bg);
}
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.15fr);
  gap: 56px;
  align-items: center;
}
.about-photo {
  position: relative;
}
.about-photo img {
  width: 100%;
  border-radius: 24px;
  aspect-ratio: 4/5;
  object-fit: cover;
  object-position: 70% 30%;
  box-shadow: var(--shadow);
}
.about-photo::after {
  content: "";
  position: absolute;
  inset: auto auto -18px -18px;
  width: 46%;
  height: 46%;
  border: 1px solid rgba(58,160,255,0.35);
  border-radius: 20px;
  z-index: -1;
}
.about-photo figcaption {
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.9rem;
}
.about-text p { color: var(--text-soft); margin: 0 0 16px; }
.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}
.pill {
  background: var(--gold-dim);
  color: var(--gold);
  border: 1px solid rgba(224,179,82,0.28);
  border-radius: 999px;
  padding: 7px 13px;
  font-size: 0.86rem;
  font-weight: 600;
}

/* Services */
.services { background: var(--bg-2); }
.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px 26px;
  transition: transform 0.3s var(--ease), border-color 0.3s, background 0.3s;
}
.card:hover {
  transform: translateY(-4px);
  border-color: rgba(58,160,255,0.35);
  background: #16263c;
}
.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(58,160,255,0.12);
  color: var(--sky-2);
  margin-bottom: 18px;
}
.card-icon svg { width: 26px; height: 26px; }
.card h3 {
  margin: 0 0 10px;
  font-size: 1.2rem;
  font-weight: 800;
}
.card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

/* Why us */
.why {
  background:
    radial-gradient(700px 320px at 90% 10%, rgba(224,179,82,0.07), transparent 55%),
    var(--bg);
}
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.why-item {
  display: flex;
  gap: 16px;
  padding: 24px;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.why-item .num {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(58,160,255,0.12);
  color: var(--sky-2);
  display: grid;
  place-items: center;
  font-weight: 800;
}
.why-item h3 { margin: 0 0 6px; font-size: 1.12rem; }
.why-item p { margin: 0; color: var(--muted); font-size: 0.96rem; }

/* Gallery */
.gallery { background: var(--bg-2); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 12px;
}
.gallery-item {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
  border-radius: 16px;
  background: #0a1220;
  cursor: zoom-in;
  border: 0;
  padding: 0;
  color: inherit;
  font: inherit;
  text-align: inherit;
  appearance: none;
  -webkit-appearance: none;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transition: transform 0.6s var(--ease);
}
.gallery-item.wide img { object-position: center 48%; }
.gallery-item:hover img,
.gallery-item:focus-visible img { transform: scale(1.045); }
.gallery-item figcaption,
.gallery-item .cap {
  position: absolute;
  inset: auto 0 0 0;
  padding: 28px 16px 14px;
  background: linear-gradient(to top, rgba(0,0,0,0.72), transparent);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 500;
  text-align: right;
}
.gallery-item.wide { grid-column: span 8; min-height: 380px; }
.gallery-item.tall { grid-column: span 4; min-height: 380px; }
.gallery-item.mid { grid-column: span 3; min-height: 300px; aspect-ratio: 3/4; }

.gallery-note {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

/* Contact */
.contact {
  background:
    radial-gradient(800px 380px at 50% 0%, rgba(58,160,255,0.1), transparent 60%),
    var(--bg);
}
.contact-wrap {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: start;
}
.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 28px;
}
.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}
.contact-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px;
  border-radius: 16px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--line);
}
.contact-list .ico {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(58,160,255,0.12);
  color: var(--sky-2);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.contact-list strong { display: block; font-size: 0.95rem; }
.contact-list span,
.contact-list a { color: var(--muted); font-size: 0.95rem; }
.contact-list a.contact-link {
  color: var(--sky-2);
  font-weight: 700;
  font-size: 1.05rem;
}
.contact-list a.contact-link:hover { color: #fff; }
.footer-inner a { color: var(--sky-2); }
.footer-inner a:hover { color: #fff; }
.placeholder-value {
  color: #c9b27a;
  font-weight: 600;
}

.wa-float {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 45;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #25d366;
  color: #08361b;
  padding: 12px 16px 12px 14px;
  border-radius: 999px;
  font-weight: 800;
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.35);
  transition: transform 0.2s var(--ease), background 0.2s;
}
.wa-float:hover { transform: translateY(-2px); background: #34e07a; color: #08361b; }
.wa-float svg { width: 26px; height: 26px; }
.wa-float span { font-size: 0.95rem; }

.form {
  display: grid;
  gap: 14px;
}
.form label {
  display: grid;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-soft);
}
.form input,
.form textarea {
  width: 100%;
  background: #0c1624;
  border: 1px solid var(--line-strong);
  color: var(--text);
  border-radius: 12px;
  padding: 12px 14px;
  font-family: inherit;
  font-size: 1rem;
}
.form input:focus,
.form textarea:focus {
  outline: 2px solid rgba(58,160,255,0.55);
  border-color: transparent;
}
.form textarea { min-height: 130px; resize: vertical; }
.form-note {
  color: var(--muted);
  font-size: 0.85rem;
  margin: 0;
}
.form-success {
  display: none;
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(58,160,255,0.12);
  border: 1px solid rgba(58,160,255,0.3);
  color: var(--sky-2);
  font-weight: 600;
}
.form-success.show { display: block; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 28px 0 36px;
  background: #050910;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  color: var(--muted);
  font-size: 0.92rem;
}
.footer-inner strong { color: var(--text-soft); }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(3, 6, 12, 0.92);
  z-index: 80;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: min(1200px, 92vw);
  max-height: 82vh;
  border-radius: 12px;
  box-shadow: var(--shadow);
}
.lightbox-caption {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  font-weight: 500;
  text-align: center;
  width: min(720px, 90vw);
}
.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: rgba(255,255,255,0.08);
  border: 1px solid var(--line-strong);
  color: #fff;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.lightbox-close { top: 18px; left: 18px; }
.lightbox-prev { top: 50%; right: 18px; transform: translateY(-50%); }
.lightbox-next { top: 50%; left: 18px; transform: translateY(-50%); }
.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover { background: rgba(255,255,255,0.18); }

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  animation: rise 0.8s var(--ease) forwards;
}
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.32s; }
@keyframes rise {
  to { opacity: 1; transform: none; }
}

body.menu-open { overflow: hidden; }
body.lb-open { overflow: hidden; }

@media (max-width: 960px) {
  .nav {
    position: fixed;
    inset: var(--header-h) 0 0 0;
    background: rgba(7, 13, 22, 0.96);
    backdrop-filter: blur(16px);
    flex-direction: column;
    align-items: stretch;
    padding: 24px 20px;
    gap: 6px;
    transform: translateX(110%);
    transition: transform 0.35s var(--ease);
  }
  .nav.open { transform: none; }
  .nav a { padding: 14px 16px; font-size: 1.1rem; }
  .nav .nav-cta { margin: 10px 0 0; text-align: center; }
  .nav-toggle { display: inline-flex; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .about-grid,
  .contact-wrap { grid-template-columns: 1fr; gap: 32px; }
  .about-photo { max-width: 420px; }
  .cards { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .gallery-item.wide,
  .gallery-item.tall,
  .gallery-item.mid { grid-column: span 6; min-height: 260px; }
}

@media (max-width: 640px) {
  .wa-float span { display: none; }
  .wa-float { padding: 14px; left: 14px; bottom: 14px; }
  .container,
  .header-inner,
  .hero-inner { width: calc(100% - 28px); }
  .section { padding: 72px 0; }
  .hero { background-position: 80% 30%; min-height: 92svh; }
  .hero-inner { padding-bottom: 48px; }
  .hero-stats { grid-template-columns: 1fr 1fr; gap: 8px; }
  .stat { padding: 12px; }
  .gallery-item.wide,
  .gallery-item.tall,
  .gallery-item.mid { grid-column: span 12; min-height: 280px; }
  .gallery-item.mid { aspect-ratio: 4/5; }
  .about-photo::after { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { animation: none; opacity: 1; transform: none; }
  .gallery-item img { transition: none; }
}
