/* ==========================================================================
   Page Hero with Swoop
   ========================================================================== */

.page-hero {
  position: relative;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-top: -80px;
  padding-top: 80px;
}

.page-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.page-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(23, 25, 35, 0.5), rgba(23, 25, 35, 0.4), rgba(23, 25, 35, 0.7));
}

.page-hero__content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 8rem 1rem 4rem;
}

.page-hero__swoop {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 48px;
  color: var(--color-snow-50);
}

.page-hero__swoop svg {
  width: 100%;
  height: 100%;
}

/* Dog Care Icons Grid */
.dog-care-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
}

@media (max-width: 768px) {
  .dog-care-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.dog-care-item {
  text-align: center;
}

.dog-care-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: var(--color-snow-50);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-campfire-600);
}

.dog-care-icon svg {
  width: 24px;
  height: 24px;
}

/* Hero image card with overlay */
.hero-image-card {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
}

.hero-image-card img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.hero-image-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(23, 25, 35, 0.7), transparent);
}

.hero-image-card__content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem;
  color: white;
}

/* ==========================================================================
   Hero Slider (Swiper)
   ========================================================================== */

.hero-slider {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  margin-top: -80px;
}

.hero-swiper {
  width: 100%;
  height: 100%;
}

.hero-swiper .swiper-slide {
  overflow: hidden;
}

.hero-slide {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.hero-slide__content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 2rem;
  max-width: 900px;
}

.hero-slide__title {
  margin: 0 0 1.5rem;
}

.hero-slide__title-main {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  font-weight: 700;
  color: white;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  line-height: 1.1;
}

.hero-slide__title-sub {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  font-weight: 700;
  color: #dc3626;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  line-height: 1.1;
}

@media (min-width: 768px) {
  .hero-slide__title-main,
  .hero-slide__title-sub {
    font-size: 4.5rem;
  }
}

@media (min-width: 1024px) {
  .hero-slide__title-main,
  .hero-slide__title-sub {
    font-size: 5.5rem;
  }
}

.hero-slide__description {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 600px;
  margin: 0 auto 2rem;
  line-height: 1.7;
}

@media (min-width: 768px) {
  .hero-slide__description {
    font-size: 1.25rem;
  }
}

.hero-slide__buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}

@media (min-width: 640px) {
  .hero-slide__buttons {
    flex-direction: row;
  }
}

/* Swiper Navigation */
.hero-swiper .swiper-button-prev,
.hero-swiper .swiper-button-next {
  color: white;
  background-color: rgba(0, 0, 0, 0.3);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.hero-swiper .swiper-button-prev:hover,
.hero-swiper .swiper-button-next:hover {
  background-color: #dc3626;
}

.hero-swiper .swiper-button-prev::after,
.hero-swiper .swiper-button-next::after {
  font-size: 1.25rem;
  font-weight: bold;
}

/* Swiper Pagination */
.hero-swiper .swiper-pagination {
  bottom: 30px !important;
}

.hero-swiper .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: rgba(255, 255, 255, 0.5);
  opacity: 1;
  transition: all 0.3s ease;
}

.hero-swiper .swiper-pagination-bullet-active {
  background-color: #dc3626;
  transform: scale(1.2);
}

/* ==========================================================================
   Page Header
   ========================================================================== */

.page-header {
  position: relative;
  height: 50vh;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-size: cover;
  background-position: center;
  color: white;
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.4) 0%,
    rgba(0, 0, 0, 0.6) 100%
  );
}

.page-header-content {
  position: relative;
  z-index: 10;
  padding: 2rem;
}

.page-header-title {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .page-header-title {
    font-size: 4rem;
  }
}
