/* --- Contact Icon Hover Effects --- */
.contact-channels a {
    transition: 
        transform 0.22s cubic-bezier(.4,1.6,.4,1),
        box-shadow 0.22s cubic-bezier(.4,1.6,.4,1),
        filter 0.22s cubic-bezier(.4,1.6,.4,1);
    will-change: transform, box-shadow, filter;
}

.contact-channels a:hover,
.contact-channels a:focus-visible {
    transform: scale(1.18) rotate(-3deg);
    box-shadow: 0 6px 24px 0 rgba(0,0,0,0.22), 0 1.5px 8px 0 rgba(0,0,0,0.12);
    filter: brightness(1.15) saturate(1.2);
    z-index: 2;
}
/* Navbar logo bounce-in animation */
@keyframes navLogoBounceIn {
  0% {
    opacity: 0;
    transform: scale(0.7);
  }
  60% {
    opacity: 1;
    transform: scale(1.15);
  }
  80% {
    transform: scale(0.95);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}
.nav-logo.bounce-in {
  animation: navLogoBounceIn 0.7s cubic-bezier(.68,-0.55,.27,1.55);
}

/* =========================
   DroneWorks_v2 Main Styles
   Separation of Concerns (SoC)
   ========================= */

/* 1. Fonts & Variables */
@font-face {
  font-family: 'Acme Gothic Extrawide';
  src: url('../fonts/AcmeGothic-ExtrawideRegular.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

:root {
  --primary-color: #4a8fdb;
  --primary-light: #e6f0ff;
  --dark-color: #333;
  --white-color: #fff;
  --background-light: #f9f9f9;
}

/* 2. Reset & Base Styles */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Acme Gothic Extrawide', sans-serif;
  line-height: 1.6;
  color: var(--dark-color);
  background: transparent;
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
  position: relative;
}
img, video, iframe { max-width: 100%; height: auto; }
a { text-decoration: none; color: var(--dark-color); transition: color 0.3s; }
a:hover { color: var(--primary-color); }
ul { list-style: none; }
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  margin-bottom: 20px;
  text-shadow: 0 1px 3px rgba(255,255,255,0.7);
}

/* 3. Layout & Containers */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
  overflow: visible;
}

section {
  padding: 80px 0;
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 100vh;
  overflow-x: hidden;
  box-sizing: border-box;
}
section::before, section::after {
  content: '';
  position: absolute;
  left: 0; width: 100%; height: 50px; z-index: 2;
}
section::before { top: 0; }
section::after { bottom: 0; }

/* 4. Background Video & Overlay */
.bg-video-container {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  z-index: -1;
  overflow: hidden;
}
.bg-video {
  position: absolute;
  top: 50%; left: 50%;
  min-width: 100%; min-height: 100%;
  width: auto; height: auto;
  transform: translate(-50%, -50%);
  max-width: none;
  filter: saturate(0.8) contrast(0.9) brightness(0.9);
}
.overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(255,255,255,0.6);
}

/* 5. Navigation Bar */
.navbar {
  position: fixed; top: 0; left: 0; width: 100%;
  padding: 20px 0;
  display: flex; justify-content: space-between; align-items: center;
  background: rgba(255,255,255,0);
  transition: all 0.3s;
  z-index: 1000;
}
.navbar.sticky {
  background: rgba(255,255,255,0.8);
  padding: 10px 0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.nav-logo { height: 50px; width: auto; transition: all 0.3s; display: block; }
.navbar.sticky .nav-logo { height: 35px; }
.logo { padding-left: 20px; }
.logo a { font-size: 20.4px; font-weight: 700; color: var(--primary-color); }

/* Navigation Menu */
.nav-menu {
  display: flex;
  background: rgba(255,255,255,0.2);
  transition: background-color 0.3s;
  border-radius: 10px;
  margin-right: 15px;
  padding: 0 5px;
}
.nav-menu li { margin: 10px; }
.nav-menu a {
  color: #333;
  font-weight: 600;
  padding: 8px 0;
  position: relative;
  text-shadow: 0 2px 4px rgba(255,255,255,0.8);
}
.nav-menu:hover { background: rgba(255,255,255,0.85); }
.nav-menu a::after {
  content: '';
  position: absolute;
  width: 0; height: 2px; bottom: 0; left: 0;
  background: var(--primary-color);
  transition: width 0.3s;
}
.nav-menu a:hover { color: var(--primary-color); text-shadow: none; }
.nav-menu a:hover::after { width: 100%; }

/* Hamburger Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px; height: 21px;
  cursor: pointer;
  z-index: 1001;
  margin-right: 15px;
}
.menu-toggle span {
  display: block;
  width: 100%; height: 3px;
  background: var(--primary-color);
  transition: all 0.3s;
}
.menu-toggle.active span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* 6. Hero Section */
.hero {
  height: 100vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  background: transparent;
  width: 100%; overflow-x: hidden;
}
.logo-img { max-width: 350px; height: auto; }
.hero h2 {
  font-size: 1.87rem;
  margin-bottom: 30px;
  color: #333;
  text-shadow: 0 2px 4px rgba(255,255,255,0.8);
  background: rgba(255,255,255,0.3);
  display: inline-block;
  padding: 10px 20px;
  border-radius: 10px;
}
.cta-button {
  display: inline-block;
  padding: 12px 30px;
  background: var(--primary-color);
  color: var(--white-color);
  border-radius: 30px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s;
  border: 2px solid var(--primary-color);
}
.cta-button:hover { background: transparent; color: var(--primary-color); }

/* 7. Section Cards (Shared) */
.section-card {
  background: rgba(255,255,255,0.3);
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.1), 0 4px 8px rgba(0,0,0,0.05);
  padding: 40px;
  margin-bottom: 50px;
  transition: box-shadow 0.3s, transform 0.3s;
  overflow: hidden;
  position: relative;
  z-index: 5;
}
.section-card h2 {
  position: relative;
  display: inline-block;
}
.section-card h2:after {
  content: '';
  position: absolute;
  bottom: -10px; left: 0; width: 100%; height: 2px;
  background: var(--primary-color);
  transform: scaleX(0.5);
  transform-origin: center;
  transition: transform 0.3s;
}
.section-card:hover h2:after { transform: scaleX(0.8); }

/* 8. Examples Section */
.examples { text-align: center; width: 100%; overflow-x: hidden; }
.examples h2 { margin-bottom: 50px; text-shadow: 0 2px 4px rgba(255,255,255,0.8); }
.example-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  width: 100%;
}

/* 9. Prices Section */
.prices { text-align: center; width: 100%; overflow-x: hidden; }
.prices h2 { margin-bottom: 50px; text-shadow: 0 2px 4px rgba(255,255,255,0.8); }
.price-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  justify-content: center;
  margin: 0 auto;
}
.price-card .price {
  padding: 15px 20px;
  margin: 0;
  font-size: 1.28rem;
  color: var(--primary-color);
  font-weight: bold;
  background: rgba(240,248,255,0.9);
}
.price-card ul li { margin-bottom: 10px; position: relative; }
.price-card ul li::before {
  content: '✓ ';
  color: var(--primary-color);
  font-weight: bold;
}
.featured-label {
  position: absolute; top: -15px; right: 20px;
  background: var(--primary-color); color: #fff;
  padding: 5px 15px; border-radius: 20px;
  font-size: 11.9px; font-weight: bold; z-index: 1;
  transition: transform 0.3s, box-shadow 0.3s;
}
.price-card.featured:hover .featured-label {
  transform: scale(1.1) translateY(-3px);
  box-shadow: 0 5px 10px rgba(74,143,219,0.3);
}
.price-note {
  margin-top: 40px; padding: 15px;
  background: rgba(245,245,245,0.9);
  border-left: 4px solid var(--primary-color);
}
.price-note p { margin: 0; font-size: 0.85rem; }

/* 10. About Section */
.about { width: 100%; overflow-x: hidden; text-align: center; }
.about h2 { margin-bottom: 50px; text-shadow: 0 2px 4px rgba(255,255,255,0.8); }
.about-content { display: flex; flex-wrap: wrap; gap: 50px; align-items: center; }
.about-card { display: flex; flex-wrap: wrap; gap: 30px; width: 100%; align-items: center; justify-content: center; }
.about-image {
  flex: 0 0 auto;
  text-align: left;
  float: left;
  margin-right: 24px;
  margin-bottom: 8px;
}
.about-image img {
  max-width: 110px;
  width: 100%;
  height: auto;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: transform 0.3s;
}
.about-text {
  flex: 1;
  min-width: 250px;
  margin: 0;
  padding: 15px;
  background: rgba(245,245,245,0.9);
  border-left: 4px solid var(--primary-color);
  border-radius: 0;
  text-align: left;
  box-shadow: 0 3px 10px rgba(0,0,0,0.08);
}
.about-text strong { font-style: normal; }

.about-bullet {
  font-size: 1.25em;
  margin-right: 0.7em;
  color: var(--primary-color);
  flex-shrink: 0;
  filter: drop-shadow(0 1px 1px #fff8);
}
.about-list-text {
  font-weight: 500;
  color: #1a3550;
  letter-spacing: 0.01em;
}
.stats { flex: 1; min-width: 250px; display: flex; justify-content: space-around; text-align: center; flex-wrap: wrap; }
.stat-item h3 { font-size: 2.55rem; color: var(--primary-color); margin-bottom: 10px; }
.stat-item { background: rgba(255,255,255,0.3); padding: 10px 15px; border-radius: 8px; margin-bottom: 15px; }

/* 11. Contact Section */
.contact { text-align: center; width: 100%; overflow-x: hidden; }
.contact h2 { margin-bottom: 50px; text-shadow: 0 2px 4px rgba(255,255,255,0.8); }
.contact-container { display: flex; flex-wrap: wrap; gap: 50px; justify-content: center; }
.contact-info {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  width: 100%;
  margin: 0 auto;
  background: rgba(245,245,245,0.9);
  padding: 30px;
  border-radius: 10px;
  transition: transform 0.3s, box-shadow 0.3s;
}
.contact-info:hover { transform: translateY(-5px); box-shadow: 0 8px 20px rgba(0,0,0,0.15); }
.info-item { text-align: left; padding: 10px 15px; border-left: 3px solid var(--primary-color); transition: transform 0.2s, border-left-width 0.2s; }
.info-item h3 { color: var(--primary-color); font-size: 1.02rem; margin-bottom: 10px; }
.info-item p { margin: 0; font-size: 0.85rem; }



/* 12. Footer */
footer { color: #fff; padding: 30px 0; width: 100%; overflow-x: hidden; }
.footer-content { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; width: 100%; }
.copyright { margin-bottom: 5px; background: rgba(0,0,0,0.3); display: inline-block; padding: 5px 10px; border-radius: 5px; }
.social-links a { color: #fff; margin-left: 15px; font-size: 17px; transition: color 0.3s; }
.social-links a:hover { color: #fff; }

/* 13. Utilities & Transitions */
.about-text, .info-item, .stat-item, .examples h2, .prices h2, .contact h2, .hero h2, .price-note {
  transition: background-color 0.3s, transform 0.2s;
}

/* 14. Media Queries (grouped by breakpoint) */
@media (max-width: 900px) {
  .contact-info {
    grid-template-columns: 1fr;
  }
}
@media (min-width: 576px) and (max-width: 768px) {
  .price-cards { grid-template-columns: repeat(2, 1fr); gap: 20px; max-width: 100%; }

}
@media (max-width: 768px) {
  .menu-toggle { display: flex; }
  .nav-menu {
    position: fixed; top: 0; right: -100%; width: 70%; height: 100vh;
    background: rgba(255,255,255,0.9);
    flex-direction: column; justify-content: center; align-items: center;
    transition: all 0.5s; box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    z-index: 1000; padding: 5px 15px; border-radius: 0;
  }
  .nav-menu.active { right: 0; }
  .nav-menu li { margin: 1.5rem 0; }
  .hero h2 { font-size: 1.45rem; background: rgba(255,255,255,0.3); padding: 8px 15px; }
  .logo-img { max-width: 250px; }
  .about-content, .contact-container { flex-direction: column; }
  .about-card { flex-direction: column; gap: 20px; }
  .about-text { width: 100%; }
  .about-image {
    float: none;
    margin: 0 0 0 0;
    text-align: center;
  }
  .about-image img {
    max-width: 120px;
    border-radius: 50%;
  }
  .stats { flex-direction: column; width: 100%; }
  .stat-item { margin-bottom: 30px; }
  .container { padding: 0 15px; width: 100%; max-width: 100%; overflow: visible; }
  .section-card { padding: 25px 20px; }
  .section-card h2 { font-size: 1.7rem; }
  .price-card .price { font-size: 1.3rem; padding: 12px 15px; }
  .price-note p { font-size: 0.95rem; }
}
@media (max-width: 699px) {
  .contact-info {
    padding: 20px 15px; max-width: 100%; width: calc(100% - 30px);
    display: grid; grid-template-columns: 1fr;
  }
  .info-item:nth-child(1), .info-item:nth-child(2) {
    grid-column: 1; grid-row: auto; margin-bottom: 20px;
  }
  .info-item:last-child { margin-bottom: 0; }
}
@media (max-width: 575px) {
  .price-cards { grid-template-columns: 1fr; max-width: calc(100% - 10px); }
}
@media (max-width: 480px) {
  section { padding: 60px 0; }
  .logo-img { max-width: 200px; }
  .hero h2 { font-size: 1.19rem; }
  .cta-button { padding: 10px 20px; }
  .price-card { width: 100%; margin-bottom: 10px; box-sizing: border-box; }
  .price-card h3 { font-size: 1.1rem; }
  .price { font-size: 1.45rem; margin: 15px 0; }
  .example-container { width: 100%; padding: 0 5px; box-sizing: border-box; }
  .form-group input, .form-group textarea { width: 100%; box-sizing: border-box; }
  .section-card { padding: 20px 15px; }
  .section-card h2 { font-size: 1.28rem; }
  .price-card .price { font-size: 1.1rem; padding: 10px 15px; }
  .price-note p { font-size: 0.9rem; }
}
