/* ===== INDEX PAGE STYLES ===== */

/* HERO */
.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.5) 0%,
    rgba(0,0,0,0.7) 50%,
    rgba(0,0,0,0.85) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 900px;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(110,227,110,0.15);
  border: 1px solid rgba(110,227,110,0.3);
  color: var(--color-green);
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 2rem;
  animation-delay: 0.1s;
}

.hero-tag-img {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;

  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 2rem;
  animation-delay: 0.1s;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 800;
  color: var(--color-white);
  margin-bottom: 1.5rem;
  line-height: 1.1;
  text-shadow: 0 2px 20px rgba(0,0,0,0.5);
  animation-delay: 0.2s;
}

.hero-desc {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,0.8);
  margin-bottom: 2.5rem;
  animation-delay: 0.3s;
}

.hero-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  animation-delay: 0.4s;
}

/* Hero initial animation */
.hero .fade-up {
  opacity: 0;
  transform: translateY(30px);
  animation: heroFadeUp 0.8s ease forwards;
}

.hero .fade-up:nth-child(1) { animation-delay: 0.1s; }
.hero .fade-up:nth-child(2) { animation-delay: 0.3s; }
.hero .fade-up:nth-child(3) { animation-delay: 0.5s; }
.hero .fade-up:nth-child(4) { animation-delay: 0.7s; }

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

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.scroll-indicator {
  width: 26px;
  height: 42px;
  border: 2px solid rgba(255,255,255,0.4);
  border-radius: 15px;
  display: flex;
  justify-content: center;
  padding: 6px 0;
}

.scroll-indicator span {
  width: 3px;
  height: 8px;
  background: var(--color-green);
  border-radius: 2px;
  animation: scrollBounce 2s infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(12px); opacity: 0.3; }
}

/* ===== FEATURED SECTION ===== */
.featured-section {
  background: var(--color-dark);
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.featured-item {
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.featured-img-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3/4;
  cursor: pointer;
}

.featured-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.featured-img-wrap:hover img {
  transform: scale(1.08);
}

.featured-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.1) 60%, transparent 100%);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 1.5rem;
  opacity: 0;
  transition: var(--transition);
}

.featured-img-wrap:hover .featured-overlay {
  opacity: 1;
}

.featured-category {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--color-green);
  color: var(--color-black);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 700;
}

.featured-link {
  width: 42px;
  height: 42px;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.9rem;
  transition: var(--transition);
}

.featured-link:hover {
  background: var(--color-green);
  color: var(--color-black);
  border-color: var(--color-green);
}

/* Helpers */
.text-center { text-align: center; }
.mt-3 { margin-top: 3rem; }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .featured-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .featured-img-wrap {
    aspect-ratio: 4/3;
  }
  
  .featured-overlay {
    opacity: 1;
  }
}

@media (max-width: 480px) {
  .hero-btns {
    flex-direction: column;
    align-items: center;
  }
  
  .hero-btns .btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }
}
