/* ========================================
   TUTZ X DRONES - MAIN STYLESHEET
   ======================================== */

/* ========================================
   TABLE OF CONTENTS
   ========================================
   1. CSS Variables & Base Styles
   2. Typography
   3. Navigation
   4. Hero Section
   5. Buttons & Interactive Elements
   6. Content Sections
   7. Video Section
   8. Work Section
   9. About Section
   10. Contact Section
   11. Footer
   12. SVG Dividers & Shapes
   13. Animations & Keyframes
   14. Responsive Design
   ======================================== */

/* ========================================
   1. CSS VARIABLES & BASE STYLES
   ======================================== */

:root {
  /* Color Palette */
  --primary-green: #AAB99A;
  --secondary-green: #D0DDD0;
  --dark-green: #3e513c;
  --rich-green: #3A4A28;
  --soft-green: #A0C49D;
  --accent-green: #748E63;
  --light-green: #94a194;
  
  /* Text Colors */
  --text-dark: #333;
  --text-light: #F8FAFC;
  --text-white: #ffffff;
  
  /* Background Colors */
  --bg-white: #ffffff;
  --bg-overlay: rgba(0, 0, 0, 0.208);
  
  /* Spacing */
  --section-padding: 3rem 1rem;
  --container-max-width: 960px;
  
  /* Border Radius */
  --border-radius-sm: 5px;
  --border-radius-md: 8px;
  --border-radius-lg: 12px;
  --border-radius-xl: 16px;
  
  /* Shadows */
  --shadow-light: 0 4px 12px rgba(148, 161, 148, 0.4);
  --shadow-medium: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Base Styles */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  background-color: var(--bg-white);
  color: var(--text-dark);
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
}

/* ========================================
   2. TYPOGRAPHY
   ======================================== */

body p {
  font-size: 1.125rem;
  line-height: 1.8;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  font-weight: 700;
}

h2 {
  color: var(--dark-green);
  font-size: 2.5rem;
  margin-bottom: 1rem;
  text-align: center;
  font-weight: 700;
}

/* ========================================
   3. NAVIGATION
   ======================================== */

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--primary-green);
  padding: 1rem 2rem;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.brand-logo {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 5px;
  vertical-align: middle;
}

.nav-brand {
  display: flex;
  align-items: center;
  font-weight: bold;
  font-size: 1.2rem;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: var(--text-white);
}

.nav-links.active {
  display: block;
}

/* Hamburger Menu */
.menu-toggle {
  display: none;
  font-size: 2rem;
  background: none;
  border: none;
  color: var(--rich-green);
  cursor: pointer;
}

/* ========================================
   4. HERO SECTION
   ======================================== */
   .hero {
    position: relative;
  overflow: hidden;
  text-align: center;
  padding: 8rem 2rem;
  color: var(--text-light);
  min-height: 60vh;
  max-height: 100vh;
  background-image: url('Assets/images/heroimg.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  }
  
  .bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
  }
  
 /* .bg-img { 
    background-image: url('Assets/images/heroimg.jpg');
    background-size: cover;
    background-position: center;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
  }*/
  
 .hero .overlay {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: var(--bg-overlay);
  }
  
  .hero h1,
  .hero p,
  .hero .btn {
    position: relative;
    z-index: 2;
  }
  
  .hero h1 {
    font-size: 3rem;
    margin-bottom: 0.3rem;
    color: var(--text-light);
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
  }
  
  .hero-tagline {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--text-light);
    margin-bottom: 1rem;
    font-style: italic;
    letter-spacing: 1px;
  }
  
  .hero p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--text-light);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
  }
  
  
  /* Circular button overlapping bottom */
  .btn-glass {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 2rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.101);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    color: var(--text-light);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: background 0.3s ease, transform 0.2s ease;
    z-index: 5;
  }
  
  .btn-glass:hover {
    background: rgba(255, 255, 255, 0.25);
    box-shadow:
      0 0 10px rgba(255, 255, 255, 0.4),
      0 0 30px rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.5);
    transform: scale(1.07);
  }
  

  
/* ========================================
   6. CONTENT SECTIONS
   ======================================== */

section {
  padding: var(--section-padding);
  max-width: var(--container-max-width);
  margin: auto;
}

/* Intro Section */
.intro {
  padding: 0.3rem 2rem;
  max-width: var(--container-max-width);
  margin: 0 auto;
  text-align: center;
}

.intro h2 {
  font-size: 3rem;
  color: var(--dark-green);
  margin-bottom: 1.5rem;
  font-weight: 700;
  line-height: 1.2;
}

.intro h2 .highlight {
  color: var(--primary-green);
  font-style: italic;
  font-weight: 600;
}

.intro h2 .brand {
  color: var(--rich-green);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  background:  var(--dark-green);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.intro p {
  color: var(--text-dark);
  text-align: justify;
  max-width: 800px;
  margin: 0 auto;
}

/* About Section */
.about {
  padding: 4rem 2rem;
  max-width: var(--container-max-width);
  margin: 0 auto;
  text-align: center;
  position: relative;
}

.about h2 {
  font-size: 2.5rem;
  color: var(--dark-green);
  margin-bottom: 1rem;
  font-weight: 700;
}

.about p {
  color: var(--text-dark);
  text-align: justify;
  max-width: 800px;
  margin: 0 auto;
}

/* ========================================
   7. VIDEO SECTION
   ======================================== */

.video-section {
  position: relative;
  padding: 2rem 1rem;
  text-align: center;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'><path d='M321.39,56.44c58-10.79,114.16-30.13,172-41.86,82.39-16.72,168.19-17.73,250.45-.39C823.78,31,906.67,72,985.66,92.83c70.05,18.48,146.53,26.09,214.34,3V0H0V27.35A600.21,600.21,0,0,0,321.39,56.44Z' fill='%23ffffff'/></svg>") no-repeat bottom center;
  background-size: cover;
  background-color: var(--secondary-green);
  z-index: 1;
}

.video-section section {
  padding: var(--section-padding);
  max-width: var(--container-max-width);
  margin: auto;
}

.video-section video {
  max-width: 90%;
  border-radius: var(--border-radius-md);
  margin-top: 1rem;
}

.video-heading {
  font-size: 2.5rem;
  color: var(--dark-green);
  margin-bottom: 1rem;
  font-weight: 700;
  position: relative;
  display: inline-block;
  padding-bottom: 0.5rem;
}

.video-heading::after {
  content: "";
  position: absolute;
  width: 60%;
  height: 4px;
  background: linear-gradient(to right, var(--soft-green), var(--accent-green));
  bottom: 0;
  left: 20%;
  border-radius: 2px;
  animation: underlineSlide 2s ease-out forwards;
}

/* ========================================
   8. WORK SECTION
   ======================================== */

.work-section {   
  position: relative;   
  padding: 3rem 2rem 3rem;
  margin: 0 auto;  
  text-align: center;   
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='%23d0ddd0' fill-opacity='1' d='M0,32L40,74.7C80,117,160,203,240,213.3C320,224,400,160,480,112C560,64,640,32,720,64C800,96,880,192,960,245.3C1040,299,1120,309,1200,282.7C1280,256,1360,192,1400,160L1440,128L1440,0L1400,0C1360,0,1280,0,1200,0C1120,0,1040,0,960,0C880,0,800,0,720,0C640,0,560,0,480,0C400,0,320,0,240,0C160,0,80,0,40,0L0,0Z'/%3E%3C/svg%3E");
  background-size: 100% auto; 
  background-repeat: no-repeat;
  background-position: top;
  background-color: var(--primary-green);   
  z-index: 1;
}

.work-heading {
  font-size: 2.25rem;
  color: var(--dark-green);
  font-weight: 700;
  margin-bottom: 2rem;
  position: relative;
  display: inline-block;
  letter-spacing: 1px;
  opacity: 0;
  transform: translateY(10px);
  animation: fadeUp 1s ease-out forwards;
}

.work-heading::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 4px;
  background: linear-gradient(to right, var(--soft-green), var(--accent-green));
  border-radius: 2px;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100%, 1fr));
  gap: 1.5rem;
}

.work-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--border-radius-xl);
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-white);
}

.work-card video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.work-card .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);  
  z-index: 2;
}

.work-card h3 {
  position: relative;
  z-index: 3;
  font-size: 1.4rem;
  font-weight: bold;
  padding: 0 1rem;
  text-shadow: 1px 1px 6px rgba(0,0,0,0.8);
}

/* ========================================
   9. CONTACT SECTION
   ======================================== */

.contact-section {
  background-image: url('Assets/images/bgimg.jpg');
  background-size: cover;
  background-position: center;
  position: relative;
  color: var(--text-white);
  padding: 5rem 1rem;
  min-height: 400px;
}

.contact-overlay {
  width: 100%;
  height: 100%;
  padding: 3rem 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-content {
  background-color: rgba(0, 0, 0, 0.6);  
  padding: 2rem;
  border-radius: var(--border-radius-lg);
  backdrop-filter: blur(6px);
  box-shadow: var(--shadow-medium);
  max-width: 500px;
  width: 100%;
}

.contact-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  text-align: center;
  color: var(--text-white);
  font-weight: 700;
}

.contact-content p {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.icon {
  font-size: 1.2rem;
  margin-right: 0.75rem;
  color: var(--text-white);
  background-color: #0a0a0a50;
  padding: 0.6rem;
  border-radius: 50%;
}

.whatsapp-link {
  color: #25D366;
  font-weight: bold;
  text-decoration: none;
}

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

/* ========================================
   10. FOOTER
   ======================================== */

footer {
  background-color: var(--primary-green);
  text-align: center;
  padding: 1rem;
  font-size: 0.9rem;
  color: var(--text-dark);
}

/* scrollupbtn */
#scrollToTop {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 50px;
  height: 50px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #3A4A28;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

#scrollToTop.show {
  opacity: 1;
  visibility: visible;
}

#scrollToTop:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.1);
}




/* ========================================
   11. SVG DIVIDERS & SHAPES
   ======================================== */

.custom-shape-divider-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.custom-shape-divider-bottom svg {
  position: relative;
  display: block;
  width: 100%;
  height: 100px;
}

.custom-shape-divider-bottom-1747160284 {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  transform: rotate(180deg);
}

.custom-shape-divider-bottom-1747160284 svg {
  position: relative;
  display: block;
  width: calc(144% + 1.3px);
  height: 129px;
}

.custom-shape-divider-bottom-1747160619 {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  transform: rotate(180deg);
}

.custom-shape-divider-bottom-1747160619 .shape-fill {
  fill: var(--primary-green);
}

/* ========================================
   12. ANIMATIONS & KEYFRAMES
   ======================================== */

@keyframes underlineSlide {
  from {
    width: 0%;
    left: 50%;
  }
  to {
    width: 60%;
    left: 20%;
  }
}

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

/* ========================================
   13. RESPONSIVE DESIGN
   ======================================== */

/* Tablet and smaller desktop */
@media (max-width: 768px) {
  /* Navigation */
  .navbar {
    flex-direction: row;
    justify-content: space-between;
  }

  .menu-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    background-color: var(--primary-green);
    width: 100%;
    position: absolute;
    top: 70px;
    left: 0;
    padding: 1rem 0;
    text-align: center;
  }

  .nav-links.show {
    display: flex;
  }

  /* Service Section */
  .service-section {
    padding: 2rem 1.2rem;
    margin: 2rem auto;
    max-width: 90%;
    border-radius: 1rem;
  }

  /* Hero Section */
  .hero {
    padding: 4rem 1rem;
    background-size: cover;
    position: relative;
    min-height: 30vh;
    max-height: 40vh;
   
  }
  .hero h1 {
    font-size: 1.8rem;
  }

  .hero p {
    font-size: 1rem;
  }

  /* Typography */
  .intro h2 {
    font-size: 2rem;
  }

  .intro p {
    font-size: 1rem;
    text-align: justify;
  }

  h2 {
    font-size: 2rem;
  }

  /* Video Section */
  .video-section {
    padding: 1rem 1rem;
  }

  .video-section h2 {
    font-size: 2rem;
  }

  .video-section video {
    width: 100%;
    height: auto;
  }

  /* Work Section */
  .work-section {
    padding: 1rem 1rem;
  }

  .work-section h2 {
    font-size: 2rem;
  }

  .work-grid {
    max-width: 100%;
    margin: 0 auto;
    grid-template-columns: 1fr;
  }

  .work-card {
    height: 150px;
  }

  .work-card h3 {
    font-size: 1rem;
  }

  /* About Section */
  .about h2 {
    font-size: 2rem;
  }

  /* Contact Section */
  .contact-section {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .contact-overlay {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .contact-content {
    width: 90%;
    text-align: center;
  }

  .contact-content h2 {
    font-size: 1.5rem;
  }

  .contact-content p {
    font-size: 1rem;
  }

  /* SVG Responsive */
  .custom-shape-divider-top-1747160083 svg {
    width: calc(157% + 1.3px);
    height: 291px;
  }

  .custom-shape-divider-bottom-1747160033 svg {
    width: calc(157% + 1.3px);
    height: 291px;
  }
}

/* Mobile devices */
@media (max-width: 480px) {
  /* Typography */
  body p {
    font-size: 1rem;
  }

  .hero h1 {
    font-size: 1.5rem;
  }

  .hero p {
    font-size: 0.95rem;
  }

  .intro h2,
  .work-section h2,
  .contact-content h2 {
    font-size: 1.4rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  .about h2 {
    font-size: 1.5rem;
  }

  .work-section h2 {
    font-size: 1.5rem;
  }

  /* Sections */
  .video-section {
    padding: 0.5rem 0.5rem;
  }

  /* Footer */
  footer {
    font-size: 0.8rem;
  }
}

/* ========================================
   END OF STYLESHEET
   ======================================== */