/* ================================================================
   Activity Life — Custom Homepage Styles
   Тема: Traveler | Bootstrap 5
   ================================================================ */

:root {
  --hp-primary:  #e74c3c;
  --hp-primary-dark: #c0392b;
  --hp-dark:     #1a1a2e;
  --hp-dark2:    #16213e;
  --hp-dark3:    #0f3460;
  --hp-accent:   #f39c12;
  --hp-light:    #f8f9fa;
  --hp-text:     #333;
  --hp-muted:    #666;
  --hp-radius:   14px;
  --hp-shadow:   0 4px 24px rgba(0,0,0,.10);
  --hp-shadow-hover: 0 12px 40px rgba(0,0,0,.18);
  --hp-transition: .28s ease;
}

/* ── Убираем padding container-fluid на главной ─────────────────── */
.home .container-fluid {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* ================================================================
   HERO SECTION
   ================================================================ */
.alt-hp-hero {
  min-height: 90vh;
  background: linear-gradient(135deg, var(--hp-dark) 0%, var(--hp-dark2) 50%, var(--hp-dark3) 100%);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

/* Декоративные круги */
.alt-hp-hero::before {
  content: '';
  position: absolute;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(231,76,60,.18) 0%, transparent 70%);
  top: -150px;
  right: -150px;
  border-radius: 50%;
  pointer-events: none;
}
.alt-hp-hero::after {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(243,156,18,.10) 0%, transparent 70%);
  bottom: -100px;
  left: -100px;
  border-radius: 50%;
  pointer-events: none;
}

.alt-hp-hero__inner {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding: 80px 24px;
  position: relative;
  z-index: 1;
}

.alt-hp-hero__title {
  font-size: clamp(2.4rem, 6vw, 4.8rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.1;
  letter-spacing: -2px;
  margin: 0 0 1.25rem;
}
.alt-hp-hero__title span {
  color: var(--hp-primary);
}

.alt-hp-hero__subtitle {
  color: rgba(255,255,255,.72);
  font-size: clamp(1rem, 2vw, 1.3rem);
  max-width: 560px;
  margin: 0 0 2.5rem;
  line-height: 1.6;
}

.alt-hp-btn-hero {
  display: inline-block;
  background: var(--hp-primary);
  color: #fff !important;
  padding: 1rem 2.8rem;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 700;
  text-decoration: none !important;
  transition: transform var(--hp-transition), box-shadow var(--hp-transition);
  box-shadow: 0 8px 32px rgba(231,76,60,.45);
}
.alt-hp-btn-hero:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(231,76,60,.55);
  color: #fff !important;
}

/* ================================================================
   СЕКЦИИ — общие стили
   ================================================================ */
.alt-hp-section {
  padding: 64px 0;
}

.alt-hp-search-section {
  background: #fff;
  padding: 40px 0;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
  position: relative;
  z-index: 2;
}

.alt-hp-section-header {
  text-align: center;
  margin-bottom: 40px;
}

.alt-hp-section-header--light .alt-hp-section-title,
.alt-hp-section-header--light .alt-hp-section-subtitle {
  color: #fff;
}

.alt-hp-section-title {
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--hp-dark);
  margin: 0 0 .6rem;
  letter-spacing: -.5px;
}

.alt-hp-section-subtitle {
  font-size: 1.05rem;
  color: var(--hp-muted);
  margin: 0;
}

/* ================================================================
   WHY US
   ================================================================ */
.alt-hp-why {
  background: var(--hp-dark);
  padding: 72px 0;
}

.alt-hp-why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 48px;
}

.alt-hp-why-item {
  text-align: center;
  padding: 32px 20px;
  border-radius: var(--hp-radius);
  background: rgba(255,255,255,.05);
  transition: background var(--hp-transition), transform var(--hp-transition);
}
.alt-hp-why-item:hover {
  background: rgba(255,255,255,.09);
  transform: translateY(-4px);
}

.alt-hp-why-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.alt-hp-why-item h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 .6rem;
}
.alt-hp-why-item p {
  color: rgba(255,255,255,.6);
  font-size: .9rem;
  line-height: 1.6;
  margin: 0;
}

/* ================================================================
   CATEGORIES
   ================================================================ */
.alt-hp-categories-section {
  background: var(--hp-light);
}

.alt-hp-cats {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
}

.alt-hp-cat {
  background: #fff;
  border-radius: var(--hp-radius);
  padding: 2rem 1.25rem;
  text-align: center;
  box-shadow: var(--hp-shadow);
  transition: transform var(--hp-transition), box-shadow var(--hp-transition), border-color var(--hp-transition);
  cursor: pointer;
  border-top: 4px solid transparent;
  text-decoration: none !important;
  display: block;
}
.alt-hp-cat:hover {
  transform: translateY(-8px);
  box-shadow: var(--hp-shadow-hover);
  border-top-color: var(--hp-primary);
}

.alt-hp-cat__icon {
  font-size: 2.8rem;
  margin-bottom: 1rem;
  display: block;
}
.alt-hp-cat__name {
  font-weight: 700;
  font-size: 1rem;
  color: var(--hp-dark);
}

/* ================================================================
   АДАПТИВ
   ================================================================ */
@media (max-width: 991px) {
  .alt-hp-why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .alt-hp-cats {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 767px) {
  .alt-hp-hero__inner {
    padding: 60px 20px;
  }
  .alt-hp-hero__title {
    letter-spacing: -1px;
  }
  .alt-hp-why-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  .alt-hp-cats {
    grid-template-columns: repeat(2, 1fr);
  }
  .alt-hp-section {
    padding: 44px 0;
  }
}

@media (max-width: 480px) {
  .alt-hp-cats {
    grid-template-columns: repeat(1, 1fr);
  }
  .alt-hp-why-grid {
    grid-template-columns: 1fr;
  }
}
