/* 
==============================================
   MAK DRONE TECH SOLUTIONS - Design System
==============================================
*/

:root {
  /* Colors */
  --clr-bg: #070b14;           /* Deep dark blue/black */
  --clr-surface: #101827;      /* Slightly lighter dark */
  --clr-surface-light: #182336; /* Hover states */
  --clr-accent: #00e0ff;       /* Neon Cyan */
  --clr-accent-dark: #0099ff;  /* Deep blue gradient */
  --clr-text: #e2e8f0;         /* Primary text */
  --clr-text-muted: #94a3b8;   /* Secondary text */
  --clr-white: #ffffff;
  
  /* Glassmorphism */
  --glass-bg: rgba(16, 24, 39, 0.7);
  --glass-border: rgba(255, 255, 255, 0.08);

  /* Typography */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Spacing */
  --section-padding: 6rem 0;
  --container-width: 1200px;
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

body {
  font-family: var(--font-body);
  background-color: var(--clr-bg);
  color: var(--clr-text);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--clr-white);
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}

ul {
  list-style: none;
}

/* Utility Classes */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.py-section {
  padding: var(--section-padding);
}

.bg-darker {
  background-color: #03060c;
}

.accent {
  color: var(--clr-accent);
  background: linear-gradient(90deg, var(--clr-accent), var(--clr-accent-dark));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.section-subtitle {
  color: var(--clr-text-muted);
  font-size: 1.1rem;
  max-width: 600px;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* =========================================
   BUTTONS 
========================================= */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-family: var(--font-heading);
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition-smooth);
}

.btn-primary {
  background: var(--clr-accent); /* fallback */
  background: linear-gradient(135deg, var(--clr-accent), var(--clr-accent-dark));
  color: var(--clr-bg);
  box-shadow: 0 4px 15px rgba(0, 224, 255, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 224, 255, 0.5);
  color: #fff;
}

.btn-outline {
  background: transparent;
  border-color: var(--clr-accent);
  color: var(--clr-accent);
}

.btn-outline:hover {
  background: rgba(0, 224, 255, 0.1);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.1rem;
}

.btn-text {
  color: var(--clr-accent);
  font-weight: 600;
  padding: 0;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
}

.btn-text::after {
  content: '→';
  margin-left: 8px;
  transition: transform var(--transition-fast);
}

.btn-text:hover::after {
  transform: translateX(4px);
}

/* =========================================
   NAVIGATION 
========================================= */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1.5rem 0;
  z-index: 1000;
  transition: var(--transition-smooth);
}

.navbar.scrolled {
  padding: 1rem 0;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--glass-border);
}

.nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 1px;
}

.nav-logo-img {
  height: 50px;
  width: auto;
  object-fit: contain;
  /* Make dark logo pure white, with slight opacity for a smoother, premium finish */
  filter: brightness(0) invert(1);
  opacity: 0.95;
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-links a:not(.btn) {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--clr-text);
  position: relative;
}

.nav-links a:not(.btn)::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--clr-accent);
  transition: var(--transition-fast);
}

.nav-links a:not(.btn):hover::after,
.nav-links a.active::after {
  width: 100%;
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
}

.mobile-menu-btn span {
  width: 30px;
  height: 2px;
  background: var(--clr-white);
  transition: var(--transition-fast);
}

/* =========================================
   HERO SECTION 
========================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px; /* navbar offset */
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* Placeholder background, can be replaced by an image or video */
  background: url('https://images.unsplash.com/photo-1508614589041-895b88991e3e?q=80&w=2000&auto=format&fit=crop') center/cover no-repeat;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(7, 11, 20, 0.9) 0%, rgba(7, 11, 20, 0.6) 100%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  width: 100%;
  display: flex;
  justify-content: flex-start;
}

.hero-text {
  max-width: 650px;
}

.hero-title {
  font-size: clamp(3rem, 5vw, 4.5rem);
  font-weight: 800;
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--clr-text-muted);
  margin-bottom: 2.5rem;
}

.hero-cta {
  display: flex;
  gap: 1rem;
}

/* =========================================
   HIGHLIGHTS SECTION 
========================================= */
.highlights-section {
  position: relative;
  margin-top: -80px;
  z-index: 10;
  padding-top: 0;
}

.highlights-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.highlight-card {
  background: var(--clr-surface);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  transition: transform var(--transition-smooth), border-color var(--transition-fast);
}

.highlight-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 224, 255, 0.3);
}

.highlight-number {
  font-size: 2.5rem;
  color: var(--clr-accent);
  margin-bottom: 0.5rem;
}

/* =========================================
   ABOUT SNIPPET 
========================================= */
.about-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-content p {
  color: var(--clr-text-muted);
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.link-arrow {
  color: var(--clr-accent);
  font-weight: 600;
  font-family: var(--font-heading);
  display: inline-block;
}

.link-arrow:hover {
  text-decoration: underline;
}

.about-image {
  position: relative;
  height: 400px;
  border-radius: 20px;
  background: url('https://images.unsplash.com/photo-1579820010410-c10411aaaa88?q=80&w=1000&auto=format&fit=crop') center/cover;
}

.about-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(7,11,20,0.8), transparent);
  border-radius: 20px;
}

.glass-card {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: rgba(16, 24, 39, 0.85);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 2rem;
  border-radius: 12px;
  max-width: 300px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.vision-quote {
  font-style: italic;
  font-size: 1rem;
  color: var(--clr-white);
}

/* =========================================
   SERVICES 
========================================= */
.services-section .container {
  max-width: calc(var(--container-width) + 100px);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.service-card {
  background: var(--clr-surface);
  border: 1px solid var(--glass-border);
  padding: 2.5rem 2rem;
  border-radius: 16px;
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--clr-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-smooth);
}

.service-card:hover {
  transform: translateY(-10px);
  background: var(--clr-surface-light);
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

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

.service-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.service-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.service-desc {
  color: var(--clr-text-muted);
  margin-bottom: 2rem;
}

/* =========================================
   MEDIA SHOWCASE SECTION 
========================================= */
.media-showcase {
  position: relative;
  overflow: hidden;
  background: #000;
}

.media-parallax {
  position: relative;
  height: 600px;
  overflow: hidden;
}

.media-parallax-bg {
  position: absolute;
  top: -20%;
  left: 0;
  width: 100%;
  height: 140%;
  background: url('../images/drone-cleaning.png') center/cover no-repeat;
  will-change: transform;
  transition: transform 0.05s linear;
}

.media-parallax-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(7,11,20,0.7) 0%,
    rgba(7,11,20,0.3) 40%,
    rgba(7,11,20,0.3) 60%,
    rgba(7,11,20,0.9) 100%
  );
  z-index: 1;
}

.media-parallax-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
}

.media-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 224, 255, 0.1);
  border: 1px solid rgba(0, 224, 255, 0.3);
  color: var(--clr-accent);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.media-tag::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--clr-accent);
  border-radius: 50%;
  animation: pulse-dot 1.5s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

.media-parallax-title {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 1rem;
  text-shadow: 0 2px 20px rgba(0,0,0,0.5);
}

.media-parallax-subtitle {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.7);
  max-width: 500px;
}

/* =========================================
   CTA SECTION 
========================================= */
.cta-section {
  text-align: center;
  background: linear-gradient(rgba(3,6,12,0.95), rgba(3,6,12,0.95)), url('../images/drone-cleaning.png') center/cover fixed;
}

.cta-wrapper {
  max-width: 800px;
}

.cta-title {
  font-size: clamp(2rem, 4vw, 3.5rem);
  margin-bottom: 1rem;
}

.cta-subtitle {
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
  color: var(--clr-text-muted);
}

/* =========================================
   FOOTER 
========================================= */
.footer {
  background: #020408;
  padding: 5rem 0 2rem;
  border-top: 1px solid var(--glass-border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-logo {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 1rem;
  letter-spacing: 0.5px;
}

.footer-pvtltd {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--clr-accent);
  margin-bottom: 1rem;
  opacity: 0.8;
}

.footer-desc {
  color: var(--clr-text-muted);
  max-width: 300px;
}

.footer h4 {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}

.footer-links li, .footer-contact li {
  margin-bottom: 0.8rem;
  color: var(--clr-text-muted);
}

.footer-links a:hover {
  color: var(--clr-accent);
}

.footer-contact li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.05);
  color: var(--clr-text-muted);
  font-size: 0.9rem;
}

/* =========================================
   ANIMATIONS 
========================================= */
.animate-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.animate-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

.animate-fade-up {
  animation: fadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =========================================
   RESPONSIVE DESIGN 
========================================= */
@media (max-width: 992px) {
  .highlights-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-wrapper {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .about-image {
    margin-top: 2rem;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .navbar {
    padding: 0.8rem 0;
  }

  .logo {
    font-size: 1rem;
    gap: 8px;
  }

  .nav-logo-img {
    height: 36px;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 260px;
    height: 100vh;
    background: var(--clr-surface);
    flex-direction: column;
    padding: 100px 2rem 2rem;
    transition: 0.4s ease;
    box-shadow: -10px 0 30px rgba(0,0,0,0.5);
    z-index: 1000;
  }
  
  .nav-links.active {
    right: 0;
  }
  
  .mobile-menu-btn {
    display: flex;
    z-index: 1001;
    padding: 8px;
    margin-right: 2px;
    border-radius: 8px;
    background: rgba(255,255,255,0.08);
  }

  .mobile-menu-btn.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
  }
  .mobile-menu-btn.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .hero-cta {
    flex-direction: column;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .highlights-section {
    margin-top: 2rem;
  }
}

@media (max-width: 576px) {
  .highlights-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .glass-card {
    position: relative;
    top: auto;
    left: auto;
    bottom: auto;
    margin-top: 1rem;
  }
}
