@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800&display=swap');

/* ==========================================================================
   Super 8 Marshall - Photo Gallery Styling (Wyndham Light Theme)
   ========================================================================== */

/* === BASE & BODY === */
body {
  font-family: 'Montserrat', sans-serif;
  background-color: #F8F9FA; /* Light Modern Background */
  margin: 0;
  padding: 20px;
  text-align: center;
  color: #1A1A1A;
}

/* === BACK TO HOME BUTTON === */
.back-to-home {
  position: absolute;
  top: 20px;
  right: 30px;
  padding: 12px 26px;
  background: #E31837; /* Crimson Red */
  color: #FFFFFF; /* White Text */
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.5px;
  border-radius: 30px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  box-shadow: 0 6px 18px rgba(227, 24, 55, 0.25);
  display: inline-block;
}

.back-to-home:hover {
  background: #FFDD00; /* Super 8 Yellow on Hover */
  color: #1A1A1A; /* Dark Charcoal Text */
  transform: translateY(-3px);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.15);
}

/* === LOGO STYLING === */
.logo-control {
  max-height: 150px;
  max-width: 150px;
  width: auto;
  height: auto;
  display: inline-block;
  margin: 20px;
  padding: 10px 18px;
  border-radius: 12px;
  background: #FFFFFF;
  border: 1px solid #E0E0E0;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.logo-control:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.1);
}

/* === PAGE HEADINGS & TITLES === */
.amenities-eyebrow {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  letter-spacing: 2.5px;
  color: #E31837; /* Crimson Red Accent */
  font-weight: 800;
  text-transform: uppercase;
}

.amenities-content {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.3rem;
  font-weight: 800;
  margin: 14px 0 18px;
  color: #1A1A1A; /* Deep Charcoal */
  line-height: 1.25;
  text-transform: uppercase;
}

.amenities-content a {
  color: #1A1A1A;
  text-decoration: none;
  transition: color 0.3s ease;
}

.amenities-content a:hover {
  color: #E31837; /* Crimson Red Hover */
}

.amenities-content p {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.98rem;
  line-height: 1.8;
  color: #4A4A4A;
  max-width: 600px;
  margin: 0 auto;
}

.hotelamenities-subtitle {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem;
  color: #E31837; /* Crimson Red Accent */
  text-transform: uppercase;
  letter-spacing: 2.5px;
  font-weight: 800;
}

/* === SPOTLIGHT GALLERY GRID === */
.spot-gallery {
  padding: 40px 20px 80px 20px;
  text-align: center;
  box-sizing: border-box;
  width: 100%;
}

.spot-gallery-wrapper {
  max-width: 1300px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}

.spot-gallery-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: #FFFFFF;
  border: 1px solid #E0E0E0;
  border-top: 4px solid #FFDD00; /* Super 8 Yellow Accent Bar */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  box-sizing: border-box;
}

.spot-gallery-item img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

.spot-gallery-item:hover {
  transform: translateY(-8px);
  border-top-color: #E31837; /* Red Accent Bar on Hover */
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.spot-gallery-item:hover img {
  transform: scale(1.08);
}

/* === GALLERY ITEM OVERLAY === */
.spot-gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 24px;
  box-sizing: border-box;
  background: linear-gradient(
    to top,
    rgba(26, 26, 26, 0.95),
    rgba(26, 26, 26, 0.4),
    transparent
  );
  color: #FFFFFF;
  text-align: left;
  opacity: 0;
  transform: translateY(35px);
  transition: all 0.45s ease;
}

.spot-gallery-item:hover .spot-gallery-overlay {
  opacity: 1;
  transform: translateY(0);
}

.spot-gallery-overlay h3 {
  margin: 0 0 8px;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #FFFFFF;
}

/* Action Badge inside Overlay */
.spot-gallery-overlay span {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 700;
  background: #FFDD00; /* Super 8 Yellow Badge */
  color: #1A1A1A;
  padding: 6px 16px;
  border-radius: 20px;
  display: inline-block;
  letter-spacing: 0.5px;
}

/* === LUXURY BUTTON === */
.luxury-btn {
  margin-top: 12px;
  padding: 10px 22px;
  font-size: 13px;
  border: none;
  background: #E31837; /* Crimson Red */
  color: #FFFFFF;
  border-radius: 8px;
  cursor: pointer;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 1px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  box-shadow: 0 6px 16px rgba(227, 24, 55, 0.25);
}

.luxury-btn:hover {
  background: #FFDD00; /* Yellow on Hover */
  color: #1A1A1A;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.15);
}

/* ==========================================================================
   IPAD & TABLET RESPONSIVE BREAKPOINT (601px - 1024px)
   ========================================================================== */
@media (max-width: 1024px) {
  .back-to-home {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 10px 20px;
    font-size: 13px;
  }

  .spot-gallery {
    padding: 30px 20px 60px 20px;
  }

  .spot-gallery-wrapper {
    grid-template-columns: repeat(2, 1fr); /* Clean 2-column grid */
    gap: 20px;
  }

  .spot-gallery-item img {
    height: 250px;
  }

  .amenities-content {
    font-size: 1.85rem;
  }
}

/* ==========================================================================
   MOBILE RESPONSIVE BREAKPOINT (600px and below)
   ========================================================================== */
@media (max-width: 600px) {
  /* Navigation & Header Alignment */
  .back-to-home {
    position: relative;
    top: 0;
    right: 0;
    margin: 15px auto 10px auto;
    display: table;
    padding: 10px 22px;
    font-size: 13px;
  }

  .logo-control {
    margin: 10px auto;
    display: block;
  }

  /* Headings & Text */
  .amenities-content {
    font-size: 1.5rem;
    padding: 0 10px;
  }

  .amenities-content p {
    font-size: 0.9rem;
    line-height: 1.6;
    padding: 0 10px;
  }

  /* Single Column Gallery Layout */
  .spot-gallery {
    padding: 20px 15px 40px 15px;
  }

  .spot-gallery-wrapper {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .spot-gallery-item img {
    height: 220px;
  }

  /* Mobile Touch Overlay: Always visible since hover states aren't native to touchscreens */
  .spot-gallery-overlay {
    opacity: 1;
    transform: translateY(0);
    padding: 18px;
    background: linear-gradient(
      to top,
      rgba(26, 26, 26, 0.95) 10%,
      rgba(26, 26, 26, 0.5) 70%,
      transparent 100%
    );
  }

  .spot-gallery-overlay h3 {
    font-size: 1rem;
  }

  .spot-gallery-overlay span {
    font-size: 11px;
    padding: 4px 12px;
  }
}