/* Index  */
/* Index > Hero */
.hero {
  position: relative;
  width: 100%;
  min-height: 400px;
  height: 100vh;
  max-height: 800px;
  overflow: hidden;
}

.hero-container {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  padding: min(5vw, 60px) 0;
}

/* .hero-content {
  margin-top: auto; 
} */

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

.hero-bg::-webkit-media-controls {
    display: none !important;
}

.hero-bg::-webkit-media-controls-enclosure {
    display: none !important;
}

.hero-content {
  z-index: 1;
  animation: fadeIn 2s ease-in-out;
  position: relative;
  z-index: 3;
  text-align: center;
  color: white;
  padding-top: 12vh;
}

.hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: 0.75rem;
}

.hero-content p {
  font-size: 1.5rem;
}

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

.hero-btn {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.8rem 2rem;
  background: transparent;
  color: white;
  border: 1px solid white;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.hero-btn:hover {
  background: #fff;
  color: #333;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* .section-separator {
  width: 100%;
  height: 30px;
  box-shadow: 0 -20px 30px -10px rgba(0,0,0,0.5);
  background: #fff;
} */

/* Index > Hero > Card Slider */
.hero-feature-boxes {
  position: absolute;
  bottom: 40px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  margin: auto;
  max-width: 1200px;
  /* gap: 5rem; */
  padding: 0 2rem;
  z-index: 4;
  /* padding-bottom: 40px; */
}

.feature-card {
  width: 100%;
  max-width: 300px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.4);
}

.card-image {
  position: relative;
  aspect-ratio: 4/3;
  height: auto;
  min-height: 250px;
  max-height: 300px;
  width: 100%;
}
.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.card-image picture{
  filter: brightness(0.5);
}

.card-text {
  position: absolute;
  top: 50%; 
  left: 50%; 
  transform: translate(-50%, -50%);
  width: 90%;
  text-align: center;
  padding: 1rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6);
  /* background: rgba(0, 0, 0, 0.1);  */
  border-radius: 8px;
  /* backdrop-filter: blur(4px);  */
}
.card-text h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: white;
}
.card-text p {
  font-size: 0.9rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
}

/* ===== RESPONSIVE ADJUSTMENTS ===== */
@media (max-width: 1024px) {
  .hero-feature-boxes {
    gap: 1.5rem;
  }
  .feature-card {
    max-width: 280px;
  }
}

@media (max-width: 768px) {
  .hero {
    height: auto;
    min-height: 90vh;
    padding-bottom: 120px; /* Space for cards */
  }

  .hero-feature-boxes {
    justify-content: flex-start;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 0 1rem 1.5rem;
    -webkit-overflow-scrolling: touch;
  }
  .feature-card {
    min-width: 240px;
    scroll-snap-align: center;
  }
  .hero-feature-boxes::-webkit-scrollbar {
    display: none;
  }
  .card-text {
    padding: 0.8rem;
    width: 85%;
  }
  .card-text h3 {
    font-size: 1.1rem;
  }
  .card-text p {
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  .hero-feature-boxes {
    padding: 0 2rem;
  }
  .feature-card {
    min-width: 85vw;
    max-width: 600px;
  }
  .card-text h3 {
    font-size: 1.1rem;
  }
  .card-text p {
    font-size: 0.8rem;
  }
}

/* Index > Portfolio 
*/
  .portfolio {
    background: #fff;
    color: #333;
    padding: 60px 24px;
  }
  .portfolio h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 36px;
  }
  .instagram-section {
        padding: 0;
        /* max-width: 1200px; */
        margin: 0 auto;
        text-align: center;
    }

    .instagram-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 16px;
        max-width: 1200px;
        margin: 0 auto;
        /* padding: 20px; */
    }

    .instagram-item {
        display: block;
        border-radius: 8px;
        overflow: hidden;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
        transition: transform 0.2s ease, box-shadow 0.2s ease;
        aspect-ratio: 1/1;
    }

    .instagram-item:hover {
        transform: translateY(-4px);
        box-shadow: 0 6px 12px rgba(0,0,0,0.15);
    }

    .instagram-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

    /* Responsive adjustments */
    @media (max-width: 900px) {
        .instagram-grid {
            grid-template-columns: repeat(2, 1fr);
        }
    }

    @media (max-width: 500px) {
        .instagram-grid {
            grid-template-columns: 1fr;
            gap: 12px;
        }
    }

  /* Index > Portfolio > Modal */
  /* General > Modal */
  .modal {
    position: fixed;
    top: 0; left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 999;
  }
  .modal-content {
    display: flex;
    background: #fff;
    color: #000;
    max-width: 90%;
    width: 1000px;
    padding: 20px;
    border-radius: 12px;
    position: relative;
  }
  .modal-video { flex: 1; }
  .modal-video iframe {
    width: 100%;
    height: 300px;
  }
  .modal-description {
    flex: 1;
    padding-left: 20px;
  }
  .modal-description h3 {
    margin-bottom: 10px;
  }
  .close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
  }
  .arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 30px;
    color: white;
    cursor: pointer;
    z-index: 1000;
    user-select: none;
  }
  .arrow.left { left: 20px; }
  .arrow.right { right: 20px; }

  /* Index > Service&Price */
  
  .service-section {
    position: relative;
    padding: 80px 5%;
    color: #fff;
    overflow: hidden;
  }
  .parallax-bg {
    background-image: url('../asset/img/home/drone-pilot.jpg');
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: brightness(0.4);
    position: absolute;
    top: 0; 
    left: 0;
    width: 100%; 
    height: 100%;
    z-index: -1;
  }
  .section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    font-weight: bold;
  }
  .card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
  }
  .service-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    transition: transform 0.3s ease;
  }
  .service-card:hover {
    transform: translateY(-10px);
  }
  .card-img {
    width: 100%;
    height: auto;
    display: block;
  }
  .card-body { padding: 1.5rem; }
  .card-body h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
  }
  .card-desc {
    font-size: 0.95rem;
    margin-bottom: 1rem;
  }
  
  .card-features {
    list-style: none;
    padding-left: 1rem;
    margin-bottom: 1rem;
  }

  .card-features li::before {
    content: "\2713";
    color: #00ffc3;
    margin-right: 0.5rem;
  }

  .card-features li.uncheck::before {
   visibility: hidden;
  }
  .cta-btn {
    display: inline-block;
    background: transparent;
    border: 1px solid white;
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s ease;
    font-size: 1rem;
    margin: 20px 0;
    text-decoration: none;
  }

  .cta-btn:hover { 
    background: white;
    color: #111; 
  }

  @media (max-width: 768px) {
    .hero-content h1 {
      font-size: 2.5rem;
    }

    .modal-content { flex-direction: column; }
    .modal-description {
      padding-left: 0;
      margin-top: 20px;
    }
  }

  .price-box {
    margin-top: 1.5rem;
  }
  
  .price-original {
    text-decoration: line-through;
    font-size: 1.4rem;
    color: #999;
    margin-right: 1rem;
  }
  
  .price-discounted {
    font-size: 3rem;
    font-weight: 600;
    color: white; /* Warna premium */
    display: inline-block;
    text-shadow: 0 0 0.5px yellow, 0 0 1px yellow, 0 0 2px yellow; /* Glow effect */
    transition: text-shadow 0.3s ease-in-out;
    cursor:grab;
  }
  
  .price-discounted:hover {
    text-shadow: 0 0 1px white, 0 0 2px white, 0 0 3px white; /* Glow intensifies on hover */
  }
  
  

  /* Index > Why Us */
  .why-us {
    background: #111;
    color: #fff;
    padding: 80px 10% 60px;
    text-align: center;
  }
  .why-us-inner {
    max-width: 1200px;
    margin: auto;
  }
  .why-us h2 {
    font-size: 36px;
    margin-bottom: 20px;
  }
  .why-desc {
    max-width: 700px;
    margin: 0 auto 50px;
    font-size: 18px;
    color: #ccc;
  }

  .why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 5rem;
    align-items: stretch;
  }

  .why-card {
  flex: 1 1 250px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  background: #1a1a1a;
  padding: 30px 20px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  /* transition: transform 0.3s ease, box-shadow 0.3s ease; */
  text-align: center;
  height: 100%;
  }

  .why-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 12px 30px rgba(0,255,195,0.2);
  }

  .why-card img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  margin-bottom: 15px;
  display: block;
  }
  .why-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
  }
  .why-card p {
    color: #bbb;
    font-size: 16px;
  }
  
  
