/* ==============================
   WASTELAND VISION – DRONE SERVICES
   Modular CSS Extension
============================== */

/* --- Drone Color Accents (extends existing palette) --- */
:root {
  --drone-pink: #ff6bca;
  --drone-purple: #b06bff;
  --drone-cyan: #6be3ff;
  --drone-gradient: linear-gradient(135deg, var(--drone-cyan), var(--drone-purple), var(--drone-pink));
}

/* ==============================
   DRONE HERO SECTION
============================== */

.drone-hero {
  padding: 60px 0 40px;
  position: relative;
  overflow: hidden;
}

.drone-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(107, 227, 255, 0.06) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 30%, rgba(176, 107, 255, 0.05) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 80%, rgba(255, 107, 202, 0.04) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

.drone-hero .container {
  position: relative;
  z-index: 1;
}

.drone-hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.drone-hero-text h1 {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 900;
  line-height: 1.1;
  margin: 0 0 20px;
  background: linear-gradient(135deg, #fff, var(--drone-cyan), var(--drone-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.drone-hero-text .subtitle {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--text-main);
  margin-bottom: 32px;
  line-height: 1.7;
  max-width: 560px;
}

/* Badge drone variant */
.badge-drone {
  background: linear-gradient(135deg, rgba(176, 107, 255, 0.15), rgba(255, 107, 202, 0.15));
  border-color: rgba(176, 107, 255, 0.4);
  color: var(--drone-purple);
}

/* Badge certification variant */
.badge-cert {
  background: linear-gradient(135deg, rgba(76, 175, 80, 0.12), rgba(107, 227, 255, 0.12));
  border-color: rgba(76, 175, 80, 0.4);
  color: #7CFF9B;
  font-size: 11px;
}

/* CTA Group */
.drone-cta-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.drone-contact-inline {
  margin-top: 8px;
}

.drone-email-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(107, 227, 255, 0.06);
  border: 1px solid rgba(107, 227, 255, 0.15);
  border-radius: 999px;
  font-size: 14px;
  color: var(--accent-cyan);
  transition: all 0.3s ease;
}

.drone-email-badge:hover {
  background: rgba(107, 227, 255, 0.12);
  border-color: rgba(107, 227, 255, 0.3);
}

.drone-email-badge a {
  color: var(--accent-cyan);
  text-decoration: none;
}

.drone-email-badge a:hover {
  color: #fff;
}

.drone-email-badge svg {
  flex-shrink: 0;
  opacity: 0.7;
}

/* Hero Visual / Logo */
.drone-hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.drone-logo-container {
  position: relative;
  width: 100%;
  max-width: 420px;
}

.drone-logo-img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  filter: drop-shadow(0 8px 40px rgba(107, 227, 255, 0.2));
  animation: droneFloat 4s ease-in-out infinite;
  position: relative;
  z-index: 1;
}

.drone-logo-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  height: 80%;
  background: radial-gradient(ellipse, rgba(176, 107, 255, 0.15) 0%, rgba(107, 227, 255, 0.08) 40%, transparent 70%);
  border-radius: 50%;
  filter: blur(40px);
  animation: droneGlow 5s ease-in-out infinite alternate;
  z-index: 0;
}

@keyframes droneFloat {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-14px);
  }
}

@keyframes droneGlow {
  0% {
    opacity: 0.5;
    transform: translate(-50%, -50%) scale(1);
  }
  100% {
    opacity: 0.9;
    transform: translate(-50%, -50%) scale(1.12);
  }
}

/* ==============================
   SERVICES GRID
============================== */

.drone-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 28px;
  margin-top: 32px;
}

.drone-service-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 36px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.drone-service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--drone-gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.drone-service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(176, 107, 255, 0.3);
  box-shadow:
    0 16px 48px rgba(107, 227, 255, 0.1),
    0 4px 16px rgba(176, 107, 255, 0.08);
}

.drone-service-card:hover::before {
  transform: scaleX(1);
}

.drone-service-icon {
  font-size: 48px;
  margin-bottom: 20px;
  line-height: 1;
  filter: drop-shadow(0 2px 8px rgba(107, 227, 255, 0.3));
}

.drone-service-content h3 {
  font-size: 22px;
  margin-bottom: 12px;
  color: #fff;
}

.drone-service-content > p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 20px;
}

/* Feature List */
.drone-feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}

.drone-feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
  font-size: 14px;
  color: var(--text-main);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  transition: all 0.2s ease;
}

.drone-feature-list li:last-child {
  border-bottom: none;
}

.drone-feature-list li:hover {
  color: var(--accent-cyan);
  transform: translateX(4px);
}

.drone-check {
  color: var(--drone-cyan);
  font-weight: 700;
  flex-shrink: 0;
  font-size: 15px;
}

/* ==============================
   ADVANTAGES GRID
============================== */

.drone-advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.drone-advantage-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
  transition: all 0.35s ease;
  position: relative;
}

.drone-advantage-card:hover {
  transform: translateY(-6px);
  border-color: rgba(107, 227, 255, 0.25);
  box-shadow: 0 12px 36px rgba(107, 227, 255, 0.08);
  background: rgba(255, 255, 255, 0.05);
}

.drone-advantage-icon {
  font-size: 40px;
  margin-bottom: 16px;
  line-height: 1;
}

.drone-advantage-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
  color: #fff;
}

.drone-advantage-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

/* ==============================
   STEPS / PROCESS
============================== */

.drone-steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  margin-top: 40px;
  flex-wrap: wrap;
}

.drone-step {
  flex: 1;
  min-width: 230px;
  max-width: 320px;
  text-align: center;
  padding: 32px 24px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  transition: all 0.35s ease;
  position: relative;
}

.drone-step:hover {
  transform: translateY(-6px);
  border-color: rgba(176, 107, 255, 0.3);
  box-shadow: 0 12px 40px rgba(176, 107, 255, 0.1);
}

.drone-step-number {
  font-size: 48px;
  font-weight: 900;
  background: var(--drone-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 16px;
}

.drone-step h3 {
  font-size: 20px;
  margin-bottom: 10px;
  color: #fff;
}

.drone-step p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

.drone-step-connector {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--drone-cyan), var(--drone-purple));
  align-self: center;
  border-radius: 3px;
  flex-shrink: 0;
  margin-top: 60px;
  opacity: 0.5;
}

/* ==============================
   CTA SECTION
============================== */

.drone-cta-section {
  padding: 40px 0 60px;
}

.drone-cta-box {
  background: linear-gradient(135deg, rgba(107, 227, 255, 0.06), rgba(176, 107, 255, 0.06), rgba(255, 107, 202, 0.04));
  border: 1px solid rgba(176, 107, 255, 0.2);
  border-radius: 24px;
  padding: 56px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.drone-cta-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--drone-gradient);
}

.drone-cta-box h2 {
  font-size: clamp(24px, 4vw, 36px);
  margin-bottom: 16px;
  color: #fff;
}

.drone-cta-box > .drone-cta-box-content > p {
  font-size: 17px;
  color: var(--text-main);
  max-width: 600px;
  margin: 0 auto 32px;
  line-height: 1.7;
}

.drone-cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.drone-contact-details {
  display: flex;
  gap: 32px;
  justify-content: center;
  flex-wrap: wrap;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.drone-contact-item {
  font-size: 14px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.drone-contact-item strong {
  color: var(--text-main);
}

.drone-contact-item a {
  color: var(--accent-cyan);
  text-decoration: none;
  transition: color 0.2s ease;
}

.drone-contact-item a:hover {
  color: #fff;
}

/* ==============================
   HOMEPAGE TEASER SECTION
============================== */

#drone-services-teaser {
  padding: 60px 0;
  position: relative;
}

.drone-teaser-content {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 40px;
  align-items: center;
  background: linear-gradient(135deg, rgba(107, 227, 255, 0.04), rgba(176, 107, 255, 0.04));
  border: 1px solid rgba(176, 107, 255, 0.15);
  border-radius: 20px;
  padding: 40px;
  transition: all 0.4s ease;
}

.drone-teaser-content:hover {
  border-color: rgba(176, 107, 255, 0.3);
  box-shadow: 0 12px 40px rgba(176, 107, 255, 0.08);
}

.drone-teaser-logo {
  width: 160px;
  height: 160px;
  border-radius: 16px;
  object-fit: contain;
  filter: drop-shadow(0 4px 16px rgba(107, 227, 255, 0.2));
}

.drone-teaser-text h2 {
  font-size: clamp(24px, 3.5vw, 34px);
  margin-bottom: 12px;
  color: #fff;
}

.drone-teaser-text p {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 20px;
  max-width: 520px;
  line-height: 1.7;
}

.drone-teaser-services {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.drone-teaser-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(176, 107, 255, 0.1);
  border: 1px solid rgba(176, 107, 255, 0.2);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--drone-purple);
  transition: all 0.25s ease;
}

.drone-teaser-tag:hover {
  background: rgba(176, 107, 255, 0.18);
  border-color: rgba(176, 107, 255, 0.4);
  transform: translateY(-2px);
}

/* ==============================
   RESPONSIVE
============================== */

@media (max-width: 900px) {
  .drone-hero-content {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .drone-hero-text .subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .drone-cta-group {
    justify-content: center;
  }

  .drone-contact-inline {
    display: flex;
    justify-content: center;
  }

  .drone-hero-visual {
    order: -1;
  }

  .drone-logo-container {
    max-width: 300px;
  }

  .drone-services-grid {
    grid-template-columns: 1fr;
  }

  .drone-teaser-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .drone-teaser-logo {
    margin: 0 auto;
  }

  .drone-teaser-services {
    justify-content: center;
  }

  .drone-teaser-text .action-buttons {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .drone-hero {
    padding: 40px 0 20px;
  }

  .drone-service-card {
    padding: 28px;
  }

  .drone-step-connector {
    display: none;
  }

  .drone-steps {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .drone-step {
    max-width: 100%;
    width: 100%;
  }

  .drone-cta-box {
    padding: 36px 24px;
  }

  .drone-contact-details {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }

  .drone-advantages-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .drone-cta-group {
    flex-direction: column;
  }

  .drone-cta-group .btn {
    width: 100%;
    text-align: center;
  }

  .drone-cta-actions {
    flex-direction: column;
    align-items: center;
  }

  .drone-cta-actions .btn {
    width: 100%;
  }
}
