@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@500;700&family=Montserrat:wght@300;400;500;600;700&display=swap');

/* ==========================================================================
   Monterey Motel Long Beach - Photo Gallery Styling (Theme-Matched)
   ========================================================================== */

/* === BASE & BODY === */
body {
  font-family: 'Montserrat', sans-serif;
  background-color: #F7F6F0; /* Warm Cream Background */
  margin: 0;
  padding: 20px;
  text-align: center;
  color: #4A453C;
}

/* === BACK TO HOME BUTTON === */
.back-to-home {
  position: absolute;
  top: 20px;
  right: 30px;
  padding: 12px 26px;
  background: #EAA845; /* Warm Spanish Gold */
  color: #040926; /* Deep Navy 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(234, 168, 69, 0.35);
}

.back-to-home:hover {
  background: #00A3B4; /* Coastal Teal on Hover */
  color: #FFFFFF;
  transform: translateY(-3px);
  box-shadow: 0 10px 26px rgba(0, 163, 180, 0.45);
}

/* === LOGO STYLING === */
.logo-control {
  max-height: 150px;
  max-width: 150px;
  width: auto;
  height: auto;
  display: inline-block;
  margin: 20px;
  padding: 10px 18px;
  border-radius: 14px;
  background: #FFFFFF;
  border: 1px solid rgba(0, 163, 180, 0.2);
  box-shadow: 0 10px 25px rgba(4, 9, 38, 0.12);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.logo-control:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(4, 9, 38, 0.2);
}

/* === PAGE HEADINGS & TITLES === */
.amenities-eyebrow {
  font-family: 'Cinzel', serif;
  font-size: 13px;
  letter-spacing: 2.5px;
  color: #00A3B4; /* Coastal Teal Accent */
  font-weight: 700;
  text-transform: uppercase;
}

.amenities-content {
  font-family: 'Cinzel', serif;
  font-size: 2.5rem;
  font-weight: 700;
  margin: 14px 0 18px;
  color: #040926; /* Deep Ocean Navy */
  line-height: 1.25;
}

.amenities-content a {
  color: #040926;
  text-decoration: none;
  transition: color 0.3s ease;
}

.amenities-content a:hover {
  color: #EAA845; /* Spanish Gold Hover */
}

.amenities-content p {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.98rem;
  line-height: 1.8;
  color: #4A453C;
  max-width: 600px;
  margin: 0 auto;
}

.hotelamenities-subtitle {
  font-family: 'Cinzel', serif;
  font-size: 0.85rem;
  color: #00A3B4; /* Coastal Teal */
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 700;
}

/* === SPOTLIGHT GALLERY GRID === */
.spot-gallery {
  padding: 40px 20px 80px 20px;
  text-align: center;
}

.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: 16px;
  overflow: hidden;
  background: #040926;
  border: 1px solid rgba(0, 163, 180, 0.25);
  box-shadow: 0 14px 35px rgba(4, 9, 38, 0.15);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.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-color: #EAA845; /* Gold Accent Bar */
  box-shadow: 0 26px 55px rgba(4, 9, 38, 0.3);
}

.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(4, 9, 38, 0.95),
    rgba(4, 9, 38, 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 h2, h3 {
  margin: 0 0 8px;
  font-family: 'Cinzel', 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: #EAA845; /* Spanish Gold Badge */
  color: #040926;
  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: #00A3B4; /* Coastal Teal Button */
  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(0, 163, 180, 0.35);
}

.luxury-btn:hover {
  background: #EAA845; /* Gold on Hover */
  color: #040926;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(234, 168, 69, 0.45);
}

/* === RESPONSIVE BREAKPOINTS === */
@media (max-width: 1024px) {
  .spot-gallery-wrapper {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  }
  .amenities-content {
    font-size: 2rem;
  }
}

@media (max-width: 600px) {
  body {
    padding: 15px;
  }

  .spot-gallery-wrapper {
    grid-template-columns: 1fr;
  }

  .amenities-content {
    font-size: 1.6rem;
  }

  .back-to-home {
    position: static;
    display: inline-block;
    margin-bottom: 20px;
  }
}