/* ===== HERO SECTION ===== */
.hero {
  margin-bottom: 30px;
}
.hero h1 {
  font-size: clamp(34px, 6vw, 56px);
  font-weight: 800;
}
.hero-p {
  max-width: 700px;
  margin: 20px auto 0;
  font-size: 22px;
}
.hero span {
  color: #38bdf8;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 30px;
  flex-wrap: wrap;
  padding-left: 12px;
  padding-right: 12px;
}

.description-cta-btn {
  background: #38bdf8;
  color: #020617;
  padding: 14px 24px;
  border-radius: 8px;
  font-weight: 500;
}

.description-cta-btn.outline {
  background: transparent;
  border: 1px solid #38bdf8;
  color: #38bdf8;
}

.description-cta-btn.outline:hover {
  background: #38bdf8;
  color: #020617;
}

/* ===== GALLERY SECTION ===== */
.section {
  margin-bottom: 60px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.gallery-img {
  width: 100%;
  /* height: 300px; */
  /* object-fit: cover; */
  border-radius: 16px;
  border: 1px solid #303843;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gallery-img:hover {
  transform: scale(1.02);
  box-shadow: 0 10px 30px rgba(56, 189, 248, 0.15);
}

/* ===== IMAGE MODAL ===== */
.image-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.95);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

#modalImage {
  max-width: 90%;
  max-height: 85vh;
  border-radius: 12px;
  object-fit: contain;
}

.close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 36px;
  font-weight: 300;
  color: #e5e7eb;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.close:hover {
  opacity: 0.7;
}

.nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.1);
  /* border: 1px solid #38bdf8; */
  border: 1px solid white;
  color: white;
  font-size: 32px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 300;
}

.nav-arrow:hover {
  background: white;
  color: #020617;
}

.nav-arrow.prev {
  left: 20px;
}

.nav-arrow.next {
  right: 20px;
}

/* ===== APP CONTENT SECTION ===== */
.app-content {
  max-width: 800px;
  margin: 0 auto 100px;
}

.app-content h2 {
  margin-top: 32px;
  margin-bottom: 16px;
  font-size: 25px;
  font-weight: 600;
  color: #e5e7eb;
}

.app-content p {
  color: #94a3b8;
  font-size: 22px;
  font-weight: 400;
  line-height: 1.7;
  margin-bottom: 16px;
}

.app-content ul {
  padding-left: 20px;
  margin-bottom: 16px;
}

.app-content li {
  color: #94a3b8;
  font-size: 18px;
  margin-bottom: 8px;
  line-height: 1.6;
}

.highlight-text {
  color: #38bdf8;
  font-weight: 500;
  margin-top: 24px !important;
  margin-bottom: 24px !important;
}

.content-btn {
  margin-top: 40px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.content-btn a {
  color: #020617;
}

/* ===== RESPONSIVE ===== */
/* @media (max-width: 640px) {
  .hero p {
    font-size: 18px;
  }
  .app-content h2 {
    font-size: 22px;
  }

  .app-content p,
  .app-content li {
    font-size: 18px;
  }
} */
@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 16px;
  }

  .gallery-img {
    /* height: 200px; */
  }

  #modalImage {
    max-width: 95%;
    max-height: 80vh;
  }

  .close {
    font-size: 28px;
    top: 15px;
    right: 20px;
  }

  .nav-arrow {
    width: 45px;
    height: 45px;
    font-size: 28px;
  }

  .nav-arrow.prev {
    left: 10px;
  }

  .nav-arrow.next {
    right: 10px;
  }

  .app-content h2 {
    font-size: 22px;
  }

  .app-content p,
  .app-content li {
    font-size: 18px;
  }

  .hero-actions {
    gap: 12px;
  }
}

@media (max-width: 640px) {
  .hero {
    padding-top: 60px;
    padding-bottom: 30px;
  }

  /* .hero h1 {
    font-size: 32px;
  } */
  .hero p {
    font-size: 18px;
  }

  .section {
    margin-bottom: 40px;
  }

  .section-title {
    font-size: 24px;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .gallery-img {
    /* height: 150px; */
  }

  .app-content {
    margin-bottom: 60px;
  }

  /* .app-content h2 {
    margin-top: 24px;
    font-size: 18px;
  }

  .app-content p,
  .app-content li {
    font-size: 15px;
  } */

  .hero-actions {
    flex-direction: column;
  }

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

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

  .gallery-img {
    /* height: 200px; */
  }

  .nav-arrow {
    width: 40px;
    height: 40px;
    font-size: 24px;
  }

  .nav-arrow.prev {
    left: 5px;
  }

  .nav-arrow.next {
    right: 5px;
  }

  .close {
    font-size: 24px;
  }

  /* .hero h1 {
    font-size: 28px;
  }

  .hero p {
    font-size: 16px;
  } */

  /* .app-content h2 {
    font-size: 17px;
  }

  .app-content p,
  .app-content li {
    font-size: 14px;
  } */
}
