/* ═══════════════════════════════
   AMENITIES SECTION
═══════════════════════════════ */

.amenities {
  background: #07162b;
  padding: 110px 0 100px;
  position: relative;
}

/* CONTAINER */
.amenities .container {
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
}

/* ═══════════════════════════════
   HEADER
═══════════════════════════════ */

.amenities-header {
  text-align: center;
  margin-bottom: 60px;
}

.amenities-header .label {
  color: #c9a84c;
  font-size: 0.7rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  display: block;
}

.amenities-header h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: 2.7rem;
  font-weight: 600;
  color: #ffffff;
  margin: 14px 0 14px;
  letter-spacing: 0.03em;
}

.amenities-header p {
  color: rgba(255,255,255,0.75);
  font-size: 0.95rem;
  max-width: 700px;
  margin: auto;
  line-height: 1.7;
}

/* ═══════════════════════════════
   GRID LAYOUT
═══════════════════════════════ */

.amenities-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

/* ═══════════════════════════════
   CARD
═══════════════════════════════ */

.amenity-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  background: #000;
}

/* IMAGE */
.amenity-card img {
  width: 100%;
  height: 270px;
  object-fit: cover;
  transition: transform 0.6s ease;
  display: block;
}

/* DARK OVERLAY */
.amenity-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.9) 0%,
    rgba(0, 0, 0, 0.5) 40%,
    rgba(0, 0, 0, 0.1) 70%,
    transparent 100%
  );
  z-index: 1;
}

/* TEXT OVERLAY */
.overlay {
  position: absolute;
  bottom: 22px;
  left: 22px;
  right: 22px;
  z-index: 2;
}

/* TITLE */
.overlay h4 {
  color: #c9a84c;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 6px;
  letter-spacing: 0.05em;
}

/* DESCRIPTION */
.overlay p {
  color: #ffffff;
  font-size: 0.85rem;
  line-height: 1.5;
  opacity: 0.9;
}

/* ═══════════════════════════════
   HOVER EFFECTS
═══════════════════════════════ */

.amenity-card:hover img {
  transform: scale(1.06);
}

.amenity-card:hover::after {
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.95),
    rgba(0, 0, 0, 0.55),
    rgba(0, 0, 0, 0.15),
    transparent
  );
}

/* Optional subtle lift */
.amenity-card:hover {
  transform: translateY(-4px);
  transition: transform 0.3s ease;
}

/* ═══════════════════════════════
   RESPONSIVE
═══════════════════════════════ */

/* Tablets */
@media (max-width: 900px) {
  .amenities {
    padding: 90px 0;
  }

  .amenities-grid {
    gap: 20px;
  }

  .amenities-header h2 {
    font-size: 2.2rem;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .amenities-grid {
    grid-template-columns: 1fr;
  }

  .amenity-card img {
    height: 240px;
  }

  .overlay h4 {
    font-size: 0.95rem;
  }

  .overlay p {
    font-size: 0.8rem;
  }
}

/* Small Phones */
@media (max-width: 480px) {
  .amenities {
    padding: 70px 0;
  }

  .amenities-header h2 {
    font-size: 1.9rem;
  }

  .amenities-header p {
    font-size: 0.85rem;
  }

  .overlay {
    bottom: 18px;
    left: 18px;
    right: 18px;
  }
}