/**
 * Amenities Section Component
 *
 * @package Annecy_Unik_Lodges
 */

/* Section Amenities */
.section-amenities {
  background-color: var(--color-primary);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 55px;
}

/* Container */
.amenities__container {
  display: flex;
  justify-content: center;
}

/* Header */
.amenities__header {
  max-width: 1048px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 50px;
  text-align: center;
}

/* Subtitle */
.amenities__subtitle {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14px;
  line-height: 16px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--color-secondary);
  margin: 0;
}

/* Title */
.amenities__title {
  color: var(--color-white);
}

.amenities__title h2,
.amenities__title p {
  margin: 0;
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 42px;
  line-height: 1.2;
  color: var(--color-white);
}

.amenities__title em,
.amenities__title i {
  font-style: normal;
  color: var(--color-secondary);
}

/* Description */
.amenities__description {
  max-width: 780px;
}

.amenities__description p {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 18px;
  line-height: 35px;
  color: var(--color-white);
}

/* Amenities Grid */
.amenities__grid {
  max-width: 780px;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 35px 24px;
}

/* Amenity Item */
.amenity-item {
  width: 243px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

/* Amenity Icon */
.amenity-icon {
  width: 60px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-secondary);
}

.amenity-icon img,
.amenity-icon svg {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Amenity Label */
.amenity-label {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14px;
  line-height: 16px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--color-white);
  text-align: center;
  margin: 0;
}

.amenity-label span {
  display: block;
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 1024px) {
  .section-amenities {
    gap: 45px;
  }

  .amenities__title h2,
  .amenities__title p {
    font-size: 36px;
  }

  .amenities__description p {
    font-size: 16px;
    line-height: 30px;
  }
}

@media (max-width: 768px) {
  .section-amenities {
    gap: 40px;
  }

  .amenities__header {
    gap: 35px;
  }

  .amenities__title h2,
  .amenities__title p {
    font-size: 28px;
  }

  .amenities__description p {
    font-size: 15px;
    line-height: 28px;
  }

  .amenity-item {
    width: calc(50% - 12px);
    min-width: 150px;
  }
}

@media (max-width: 480px) {
  .amenities__title h2,
  .amenities__title p {
    font-size: 24px;
  }

  .amenity-item {
    width: 100%;
    max-width: 200px;
  }
}
