.amenities-unique {
  position: relative;
  padding: 50px 20px;
  /* UPDATED: New background using the primary color */
  background: #004d30; 
  overflow: hidden;
  /* Optional: Animation for background */
  animation: gradientShift 12s ease infinite;
}

.amenities-grid-page {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 50px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Card Style */
.amenity-item {
  background: #fff;
  padding: 40px 25px;
  border-radius: 15px;
  text-align: center;
  position: relative;
  box-shadow: 0 15px 35px rgba(0,0,0,0.08);
  transition: all 0.4s ease;
  border-top: 4px solid transparent;
}

.amenity-item:hover {
  transform: translateY(-12px) scale(1.02);
  /* UPDATED: Hover border now uses the new accent color */
  border-top: 4px solid #ffd700;
  /* UPDATED: Hover shadow uses a subtle version of the new primary color */
  box-shadow: 0 20px 45px rgba(30, 30, 42, 0.2); 
}

/* Icon Circle */
.icon-circle {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  /* UPDATED: Icon background uses the new accent color */
  background: #ffd700; 
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 2rem;
  /* UPDATED: Icon color for contrast with the new background */
  color: #000000; 
  transition: all 0.4s ease;
  box-shadow: 0 0 12px rgba(0,0,0,0.1);
}

.amenity-item:hover .icon-circle {
  /* UPDATED: Icon hover background uses the new primary color */
  background: #004d30;
  /* UPDATED: Icon hover color for contrast */
  color: #fff;
  /* UPDATED: Hover shadow effect using the new accent color for a 'glow' */
  box-shadow: 0 0 25px rgba(255, 215, 0, 0.6); 
}

.amenity-item h3 {
  font-size: 1.4rem;
  color: #000000;
  margin-bottom: 10px;
  font-weight: 400;
  text-transform: uppercase;
}

.amenity-item p {
  font-size: 0.95rem;
  color: #000000;
  line-height: 1.6;
}

/* Background decorative overlay */
.amenities-unique::before {
  content: "";
  position: absolute;
  top: -80px;
  left: -80px;
  width: 200px;
  height: 200px;
  /* UPDATED: Overlay with a transparent version of the new accent color */
  background: rgba(255, 215, 0, 0.1); 
  border-radius: 50%;
  z-index: 0;
}

.amenities-unique::after {
  content: "";
  position: absolute;
  bottom: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  /* UPDATED: Overlay with a transparent version of the new accent color */
  background: rgba(255, 215, 0, 0.15); 
  border-radius: 50%;
  z-index: 0;
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ===== Responsive for Unique Amenities ===== */
@media (max-width: 992px) {
    .amenities-grid-page {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .amenities-grid-page {
        grid-template-columns: 1fr;
    }
    .amenity-item h3 {
        font-size: 1.2rem;
    }
    .amenity-item {
        padding: 30px 20px;
    }
}

/* ===================================================================
   --- 2. ROOM AMENITIES SHOWCASE ---
   =================================================================== */

/* General styling for the section amenities*/
/* ==================================================
   HOTEL & ACCESSIBLE AMENITIES - RESPONSIVE CSS
================================================== */

.room-amenities-section {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 2px 30px;
    box-sizing: border-box;
}

.room-amenities-section h2 {
    margin: 0 0 40px;
    text-align: center;
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.2;
    font-weight: 700;
    color: #fff;
}

.room-amenities-layout.no-center-image {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 35px;
    width: 100%;
    align-items: start;
}

.room-amenities-layout.no-center-image .room-amenities-column {
    width: 100%;
    min-width: 0;
}

.room-amenities-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.room-amenities-column ul li {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    width: 100%;
    min-height: 58px;
    margin-bottom: 12px;
    padding: 15px 17px;
    box-sizing: border-box;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-left: 4px solid #9b7027;
    border-radius: 7px;
    color: #222222;
    font-size: 16px;
    line-height: 1.55;
    overflow-wrap: anywhere;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}

.room-amenities-column ul li:last-child {
    margin-bottom: 0;
}

.room-amenities-column ul li:hover {
    transform: translateY(-3px);
    border-color: rgba(155, 112, 39, 0.45);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.1);
}

.room-amenities-column ul li i,
.room-amenities-column ul li em {
    width: 24px;
    min-width: 24px;
    margin-top: 4px;
    color: #8a621f;
    font-size: 18px;
    line-height: 1;
    text-align: center;
}

.room-amenities-column ul li span {
    display: block;
    flex: 1;
    min-width: 0;
    color: #222222;
}

.accessible-amenities-section {
    margin-top: 20px;
    padding-top: 60px;
}

.accessible-amenities-section .room-amenities-column ul li {
    border-left-color: #004d30;
}

.accessible-amenities-section .room-amenities-column ul li:hover {
    border-color: rgba(0, 77, 48, 0.45);
}

.accessible-amenities-section .room-amenities-column ul li i,
.accessible-amenities-section .room-amenities-column ul li em {
    color: #004d30;
}


/* ==================================================
   LARGE DESKTOP
================================================== */

@media (min-width: 1400px) {
    .room-amenities-section {
        max-width: 1400px;
        padding-left: 40px;
        padding-right: 40px;
    }

    .room-amenities-layout.no-center-image {
        gap: 45px;
    }

    .room-amenities-column ul li {
        padding: 17px 20px;
        font-size: 17px;
    }
}


/* ==================================================
   LAPTOP
================================================== */

@media (max-width: 1199px) {
    .room-amenities-section {
        padding: 60px 25px;
    }

    .room-amenities-layout.no-center-image {
        gap: 25px;
    }

    .room-amenities-column ul li {
        padding: 14px 15px;
        font-size: 15px;
    }
}


/* ==================================================
   TABLET
================================================== */

@media (max-width: 991px) {
    .room-amenities-section {
        padding: 55px 22px;
    }

    .room-amenities-section h2 {
        margin-bottom: 32px;
    }

    .room-amenities-layout.no-center-image {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }

    .room-amenities-column ul li {
        min-height: 56px;
        padding: 13px 14px;
        gap: 11px;
        font-size: 14px;
    }

    .room-amenities-column ul li i,
    .room-amenities-column ul li em {
        width: 21px;
        min-width: 21px;
        font-size: 16px;
    }
}


/* ==================================================
   MOBILE LANDSCAPE / SMALL TABLET
================================================== */

@media (max-width: 767px) {
    .room-amenities-section {
        padding: 45px 18px;
    }

    .room-amenities-section h2 {
        margin-bottom: 28px;
    }

    .room-amenities-layout.no-center-image {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .room-amenities-column.left {
        margin-bottom: 12px;
    }

    .room-amenities-column ul li {
        min-height: auto;
        margin-bottom: 10px;
        padding: 13px 14px;
        gap: 11px;
        border-left-width: 4px;
        border-radius: 6px;
        font-size: 15px;
    }

    .room-amenities-column ul li:hover {
        transform: none;
    }

    .room-amenities-column ul li i,
    .room-amenities-column ul li em {
        width: 22px;
        min-width: 22px;
        margin-top: 3px;
        font-size: 16px;
    }

    .accessible-amenities-section {
        margin-top: 5px;
        padding-top: 45px;
    }
}


/* ==================================================
   SMALL MOBILE
================================================== */

@media (max-width: 480px) {
    .room-amenities-section {
        padding: 38px 14px;
    }

    .room-amenities-section h2 {
        margin-bottom: 24px;
        font-size: 28px;
    }

    .room-amenities-column ul li {
        padding: 12px;
        gap: 10px;
        font-size: 14px;
        line-height: 1.5;
    }

    .room-amenities-column ul li i,
    .room-amenities-column ul li em {
        width: 20px;
        min-width: 20px;
        font-size: 15px;
    }
}


/* ==================================================
   EXTRA SMALL MOBILE
================================================== */

@media (max-width: 360px) {
    .room-amenities-section {
        padding-left: 10px;
        padding-right: 10px;
    }

    .room-amenities-section h2 {
        font-size: 25px;
    }

    .room-amenities-column ul li {
        padding: 11px 10px;
        font-size: 13px;
    }
}


/* Keyboard accessibility */
.room-amenities-column ul li:focus-within {
    outline: 3px solid rgba(0, 77, 48, 0.3);
    outline-offset: 2px;
}


/* Reduce animation for accessibility */
@media (prefers-reduced-motion: reduce) {
    .room-amenities-column ul li {
        transition: none;
    }

    .room-amenities-column ul li:hover {
        transform: none;
    }
}

/* ===== Location Section Hero ===== */
.location-section-hero {
  background: #f9f9f9; /* soft neutral tone */
  padding: 60px 20px;
}

.location-wrapper-hero {
  max-width: 1280px;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: stretch;
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

/* ===== Left Content Box ===== */
.location-info-box {
  flex: 1;
  padding: 50px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.location-info-box h2 {
  font-size: 2.6rem;
  color: #004d30;
  margin-bottom: 20px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.location-info-box p {
  font-size: 1.1rem;
  color: #000000;
  margin-bottom: 30px;
  line-height: 1.8;
}

/* ===== Coordinates & Directions Panels ===== */
.coordinates-area,
.directions-area {
  background: #f9f9f9;
  padding: 22px;
  border-left: 5px solid #ffd700; 
  margin-bottom: 25px;
  border-radius: 10px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.coordinates-area:hover,
.directions-area:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 12px rgba(255, 215, 0, 0.25);
}

.coordinates-area h4,
.directions-area h4,
.coordinates-area h3,
.directions-area h3 {
  color: #000000;
  font-size: 1.2rem;
  margin-bottom: 10px;
  font-weight: 600;
}

.coordinates-area ul {
  list-style: none;
  padding-left: 0;
  color: #000000;
}

.coordinates-area ul li {
  margin-bottom: 8px;
  font-size: 1rem;
}

/* ===== Form Styling ===== */
.directions-area form input {
  width: 100%;
  padding: 12px;
  margin-bottom: 12px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 1rem;
}

.directions-area form button {
  width: 100%;
  padding: 12px;
  background: linear-gradient(90deg, #004d30, #ffd700);
  color: #fff;
  border: none;
  font-size: 1rem;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 600;
  letter-spacing: 0.3px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.directions-area form button:hover {
  background: linear-gradient(90deg, #ffd700, #004d30);
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0, 77, 48, 0.25);
}

/* ===== Map Box (Right Side) ===== */
.location-map-box {
  flex: 1;
  background: #f9f9f9;
  display: flex;
  align-items: center;
  justify-content: center;
  border-left: 3px solid #ffd700;
  min-height: 400px;
}

.map-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ===== Responsive Design ===== */
@media (max-width: 992px) {
  .location-wrapper-hero {
    flex-direction: column;
  }

  .location-info-box {
    padding: 30px 25px;
  }
  
  .location-map-box {
    height: 350px;
    min-height: auto;
    border-left: none;
    border-top: 3px solid #ffd700;
  }

  .location-info-box h2 {
    font-size: 2.2rem;
  }
}

@media (max-width: 768px) {
    .location-section-hero {
        padding: 40px 15px;
    }
    .location-info-box h2 {
        font-size: 2rem;
    }
    .location-info-box p {
        font-size: 1rem;
    }
    .location-map-box {
        height: 300px;
    }
}


/* ===== Contact Header Section (Goodlettsville) ===== */
.custom-contact-header {
  text-align: center;
  padding: 20px 20px;
  background-color: #f9f9f9;
}

/* ===== Title Styling ===== */
.custom-contact-title {
  font-size: 2.6rem;
  font-weight: 700;
  color: #004d30; 
  margin-bottom: 25px;
  position: relative;
  text-transform: uppercase;
  text-decoration: none;
  letter-spacing: 1px;
}

/* Elegant orange-gold underline accent */
.custom-contact-title::after {
  content: '';
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #004d30, #ffd700);
  display: block;
  margin: 20px auto 0;
  border-radius: 2px;
}

/* ===== Description Text ===== */
.custom-contact-description {
  font-size: 18px;
  line-height: 1.8;
  color: #000000;
  max-width: 1100px;
  margin: 30px auto 0;
  font-weight: 400;
}

/* Highlighted text emphasis */
.custom-contact-description strong {
  color: #004d30;
  font-weight: 600;
}

/* ===== Inline Links ===== */
.custom-contact-description a {
  color: #004d30;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.custom-contact-description a:hover {
  color: #ffd700;
  text-decoration: none;
}

/* ===== Responsive Design ===== */
@media (max-width: 767px) {
  .custom-contact-header {
    padding: 40px 15px;
  }

  .custom-contact-title {
    font-size: 2rem;
  }

  .custom-contact-description {
    font-size: 16px;
    line-height: 1.6;
  }
}

/* ===== Main Contact Info Section (Goodlettsville) ===== */
.contact-section-hero {
  background: #f9f9f9;
  padding: 20px 20px;
}

/* Wrapper Box */
.contact-wrapper-hero {
  max-width: 1280px;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: stretch;
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

/* ===== Left Content Box ===== */
.contact-info-box {
  flex: 1;
  padding: 50px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-info-box h2 {
  font-size: 2.6rem;
  color: #004d30; 
  margin-bottom: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.contact-info-box p {
  font-size: 1.1rem;
  color: #000000;
  margin-bottom: 30px;
  line-height: 1.8;
  font-weight: 400;
}

/* ===== Contact Details Box ===== */
.contact-details-area {
  background: #f9f9f9; 
  padding: 22px;
  border-left: 5px solid #ffd700;
  margin-bottom: 25px;
  border-radius: 10px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-details-area:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 12px rgba(255, 215, 0, 0.25);
}

.contact-details-area h4 {
  color: #000000;
  font-size: 1.2rem;
  margin-bottom: 10px;
  font-weight: 600;
}

/* a11y: heading is now an h2 (h1 -> h4 skip); keep the former h4 look and stop .contact-info-box h2 (2.6rem, uppercase) from applying */
.contact-info-box .contact-details-area h2 {
  color: #000000;
  font-size: 1.2rem;
  margin-bottom: 10px;
  font-weight: 600;
  text-transform: inherit;
  letter-spacing: inherit;
}

.contact-details-area ul {
  list-style: none;
  padding-left: 0;
  color: #000000;
}

.contact-details-area ul li {
  margin-bottom: 12px;
  font-size: 1rem;
  line-height: 1.6;
}

/* ===== Links ===== */
.contact-details-area a {
  color: #004d30;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-details-area a:hover {
  color: #ffd700;
  text-decoration: underline;
}

/* ===== Right Side Image ===== */
.contact-image-box {
  flex: 1;
  background: #f9f9f9;
  display: flex;
  align-items: center;
  justify-content: center;
  border-left: 3px solid #ffd700;
  min-height: 400px;
}

.contact-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
}

/* ===== Responsive Design ===== */
@media (max-width: 992px) {
  .contact-wrapper-hero {
    flex-direction: column;
  }

  .contact-info-box {
    padding: 30px 25px;
  }

  .contact-image-box {
    height: 350px;
    min-height: auto;
    border-left: none;
    border-top: 3px solid #ffd700;
  }

  .contact-info-box h2 {
    font-size: 2.2rem;
  }

  .contact-info-box p {
    font-size: 1rem;
  }
}
@media (max-width: 768px) {
    .contact-image-box {
        height: 300px;
    }
     .contact-info-box h2 {
        font-size: 2rem;
    }
}


/* ===== La Quinta Goodlettsville Sitemap Section ===== */
.sitemap-section {
  padding: 80px 20px;
  background: linear-gradient(to bottom, #ffffff, #f9f9f9, #ffffff);
  text-align: center;
}

/* ===== Container ===== */
.sitemap-container {
  max-width: 1200px;
  margin: 0 auto;
}

/* ===== Title ===== */
.sitemap-title {
  font-size: 3rem;
  color: #004d30; 
  margin-bottom: 20px;
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none;
  letter-spacing: 1px;
}

.sitemap-title::after {
  content: '';
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #004d30, #ffd700);
  display: block;
  margin: 20px auto 0;
  border-radius: 2px;
}

/* ===== Subtitle ===== */
.sitemap-subtitle {
  font-size: 1.2rem;
  color: #000000;
  margin-bottom: 50px;
  font-weight: 400;
  line-height: 1.8;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== Sitemap Links Grid ===== */
 
/* ==================================================
   GOODLETTSVILLE HOTEL SITEMAP
================================================== */

/* ==================================================
   GOODLETTSVILLE HOTEL SITEMAP
================================================== */

.gsv-sitemap-section {
  position: relative;
  overflow: hidden;
  padding: 100px 20px;
  background:
    radial-gradient(
      circle at 10% 10%,
      rgba(255, 215, 0, 0.13),
      transparent 30%
    ),
    radial-gradient(
      circle at 90% 90%,
      rgba(0, 77, 48, 0.12),
      transparent 32%
    ),
    linear-gradient(135deg, #f7f9fc 0%, #ffffff 48%, #f3f6fa 100%);
}

.gsv-sitemap-section::before,
.gsv-sitemap-section::after {
  position: absolute;
  content: "";
  border-radius: 50%;
  pointer-events: none;
}

.gsv-sitemap-section::before {
  top: -110px;
  left: -110px;
  width: 260px;
  height: 260px;
  border: 45px solid rgba(0, 77, 48, 0.045);
}

.gsv-sitemap-section::after {
  right: -90px;
  bottom: -90px;
  width: 220px;
  height: 220px;
  border: 38px solid rgba(255, 215, 0, 0.08);
}

.gsv-sitemap-container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1250px;
  margin: 0 auto;
}

/* Heading */

.gsv-sitemap-heading {
  max-width: 760px;
  margin: 0 auto 55px;
  text-align: center;
}

.gsv-sitemap-label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 15px;
  padding: 9px 17px;
  border: 1px solid rgba(0, 77, 48, 0.14);
  border-radius: 50px;
  background-color: #ffffff;
  color: #004d30;
  box-shadow: 0 6px 20px rgba(0, 77, 48, 0.08);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.gsv-sitemap-label i {
  color: #9b6900;
}

.gsv-sitemap-heading h1 {
  position: relative;
  margin: 0 0 18px;
  padding-bottom: 20px;
  color: #003520;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(36px, 5vw, 54px);
  font-weight: 700;
  line-height: 1.15;
}

.gsv-sitemap-heading h1::after {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 75px;
  height: 4px;
  content: "";
  border-radius: 20px;
  background: linear-gradient(90deg, #004d30, #c08300);
  transform: translateX(-50%);
}

.gsv-sitemap-heading p {
  max-width: 680px;
  margin: 0 auto;
  color: #3f4b59;
  font-size: 17px;
  line-height: 1.8;
}

/* Sitemap Grid */

.gsv-sitemap-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 28px;
}

/* Sitemap Card */

.gsv-sitemap-card {
  position: relative;
  overflow: hidden;
  padding: 34px 28px 30px;
  border: 1px solid rgba(0, 77, 48, 0.12);
  border-radius: 24px;
  background-color: rgba(255, 255, 255, 0.96);
  box-shadow: 0 15px 45px rgba(0, 53, 32, 0.09);
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    border-color 0.35s ease;
}

.gsv-sitemap-card::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  content: "";
  background: linear-gradient(90deg, #004d30, #c08300);
}

.gsv-sitemap-card::after {
  position: absolute;
  top: -55px;
  right: -55px;
  width: 130px;
  height: 130px;
  content: "";
  border-radius: 50%;
  background-color: rgba(0, 77, 48, 0.04);
  transition: transform 0.4s ease;
}

.gsv-sitemap-card:hover {
  border-color: rgba(192, 131, 0, 0.42);
  box-shadow: 0 24px 55px rgba(0, 53, 32, 0.16);
  transform: translateY(-8px);
}

.gsv-sitemap-card:hover::after {
  transform: scale(1.4);
}

/* Featured Center Card */

.gsv-featured-card {
  background:
    linear-gradient(
      145deg,
      rgba(0, 77, 48, 0.03),
      rgba(255, 255, 255, 0.98)
    );
}

/* Card Heading */

.gsv-card-top {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
  padding-bottom: 22px;
  border-bottom: 1px solid #e4e9ef;
}

.gsv-card-icon {
  display: flex;
  flex: 0 0 58px;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background: linear-gradient(135deg, #004d30, #0057a8);
  color: #ffffff;
  box-shadow: 0 10px 25px rgba(0, 77, 48, 0.22);
  font-size: 23px;
  transition:
    transform 0.3s ease,
    border-radius 0.3s ease;
}

.gsv-sitemap-card:hover .gsv-card-icon {
  border-radius: 50%;
  transform: rotate(-7deg) scale(1.05);
}

.gsv-card-number {
  display: block;
  margin-bottom: 4px;
  color: #956600;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
}

.gsv-card-top h2 {
  margin: 0;
  color: #003520;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 23px;
  font-weight: 700;
  line-height: 1.25;
}

/* Sitemap List */

.gsv-sitemap-card ul {
  position: relative;
  z-index: 2;
  margin: 0;
  padding: 0;
  list-style: none;
}

.gsv-sitemap-card ul li {
  margin: 0 0 13px;
}

.gsv-sitemap-card ul li:last-child {
  margin-bottom: 0;
}

.gsv-sitemap-card ul li a {
  display: flex;
  align-items: center;
  gap: 13px;
  min-height: 76px;
  padding: 13px 14px;
  border: 1px solid #e5e9ee;
  border-radius: 15px;
  background-color: #ffffff;
  color: #15283d;
  text-decoration: none;
  box-shadow: 0 5px 15px rgba(0, 53, 32, 0.04);
  transition:
    color 0.3s ease,
    border-color 0.3s ease,
    background-color 0.3s ease,
    box-shadow 0.3s ease,
    transform 0.3s ease;
}

.gsv-sitemap-card ul li a:hover,
.gsv-sitemap-card ul li a:focus-visible {
  border-color: rgba(192, 131, 0, 0.55);
  background-color: #fffaf0;
  color: #003520;
  box-shadow: 0 9px 22px rgba(0, 53, 32, 0.1);
  outline: none;
  transform: translateX(5px);
}

.gsv-link-icon {
  display: flex;
  flex: 0 0 42px;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background-color: #eef4fa;
  color: #004d30;
  font-size: 17px;
  transition:
    color 0.3s ease,
    background-color 0.3s ease,
    transform 0.3s ease;
}

.gsv-sitemap-card ul li a:hover .gsv-link-icon,
.gsv-sitemap-card ul li a:focus-visible .gsv-link-icon {
  background-color: #004d30;
  color: #ffffff;
  transform: rotate(-5deg);
}

.gsv-link-text {
  flex: 1;
  min-width: 0;
}

.gsv-link-text strong {
  display: block;
  margin-bottom: 3px;
  color: #102a43;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
}

.gsv-link-text small {
  display: block;
  color: #566575;
  font-size: 12px;
  line-height: 1.45;
}

.gsv-arrow {
  flex: 0 0 auto;
  color: #966700;
  font-size: 13px;
  transition: transform 0.3s ease;
}

.gsv-sitemap-card ul li a:hover .gsv-arrow,
.gsv-sitemap-card ul li a:focus-visible .gsv-arrow {
  transform: translateX(4px);
}

/* Current Sitemap Page */

.gsv-sitemap-card ul li a.active {
  border-color: rgba(0, 77, 48, 0.28);
  background-color: #f1f6fb;
}

.gsv-sitemap-card ul li a.active .gsv-link-icon {
  background-color: #004d30;
  color: #ffffff;
}

/* Tablet */

@media (max-width: 1100px) {
  .gsv-sitemap-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gsv-sitemap-card:last-child {
    grid-column: 1 / -1;
    width: calc(50% - 14px);
    margin: 0 auto;
  }
}

/* Mobile */

@media (max-width: 767px) {
  .gsv-sitemap-section {
    padding: 70px 15px;
  }

  .gsv-sitemap-heading {
    margin-bottom: 38px;
  }

  .gsv-sitemap-label {
    font-size: 12px;
    letter-spacing: 1px;
  }

  .gsv-sitemap-heading h1 {
    font-size: 35px;
  }

  .gsv-sitemap-heading p {
    font-size: 15px;
    line-height: 1.7;
  }

  .gsv-sitemap-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .gsv-sitemap-card,
  .gsv-sitemap-card:last-child {
    grid-column: auto;
    width: 100%;
    margin: 0;
    padding: 29px 20px 24px;
    border-radius: 20px;
  }

  .gsv-card-top {
    gap: 13px;
    margin-bottom: 23px;
  }

  .gsv-card-icon {
    flex-basis: 52px;
    width: 52px;
    height: 52px;
    font-size: 20px;
  }

  .gsv-card-top h2 {
    font-size: 21px;
  }

  .gsv-sitemap-card ul li a {
    min-height: 72px;
    padding: 12px;
  }
}

/* Small Mobile */

@media (max-width: 420px) {
  .gsv-sitemap-section {
    padding-right: 12px;
    padding-left: 12px;
  }

  .gsv-sitemap-heading h1 {
    font-size: 31px;
  }

  .gsv-sitemap-card {
    padding-right: 15px;
    padding-left: 15px;
  }

  .gsv-link-icon {
    flex-basis: 38px;
    width: 38px;
    height: 38px;
  }

  .gsv-link-text strong {
    font-size: 15px;
  }

  .gsv-link-text small {
    font-size: 11px;
  }
}

/* Reduced Motion Accessibility */

@media (prefers-reduced-motion: reduce) {
  .gsv-sitemap-card,
  .gsv-sitemap-card::after,
  .gsv-card-icon,
  .gsv-sitemap-card ul li a,
  .gsv-link-icon,
  .gsv-arrow {
    transition: none;
  }
}

/* ===== FAQ Section ===== */
/* =========================================
   LA QUINTA PREMIUM FAQ
========================================= */

.lqfaq-section,
.lqfaq-section * {
    box-sizing: border-box;
}

.lqfaq-section {
    position: relative;
    width: 100%;
    padding: 85px 20px;
    overflow: hidden;
    background:
        radial-gradient(circle at 5% 10%, rgba(0, 77, 48, 0.045), transparent 26%),
        radial-gradient(circle at 95% 90%, rgba(255, 215, 0, 0.09), transparent 26%),
        #ffffff;
}

.lqfaq-container {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
}


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

.lqfaq-header {
    max-width: 800px;
    margin: 0 auto 46px;
    text-align: center;
}

.lqfaq-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    margin-bottom: 17px;
    padding: 8px 16px;
    border: 1px solid rgba(0, 77, 48, 0.16);
    border-radius: 50px;
    background: #fff7f7;
    color: #003520;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.lqfaq-badge-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #004d30;
    color: #ffffff;
    font-size: 13px;
    font-weight: 800;
}

.lqfaq-header h2 {
    position: relative;
    margin: 0 0 25px;
    color: #004d30;
    font-size: clamp(30px, 4vw, 42px);
    font-weight: 700;
    line-height: 1.2;
}

.lqfaq-header h2::after {
    content: "";
    position: absolute;
    bottom: -13px;
    left: 50%;
    width: 82px;
    height: 4px;
    border-radius: 10px;
    background: linear-gradient(90deg, #004d30, #ffd700);
    transform: translateX(-50%);
}

.lqfaq-header p {
    max-width: 720px;
    margin: 30px auto 0;
    color: #4a4a4a;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.8;
}


/* ===== FAQ List ===== */

.lqfaq-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
}

.lqfaq-item {
    position: relative;
    overflow: hidden;
    margin: 0;
    border: 1px solid #e5e5e5;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 5px 22px rgba(0, 0, 0, 0.055);
    transition:
        border-color 0.3s ease,
        box-shadow 0.3s ease,
        transform 0.3s ease;
}

.lqfaq-item:hover {
    border-color: rgba(0, 77, 48, 0.28);
    box-shadow: 0 12px 32px rgba(42, 20, 20, 0.09);
    transform: translateY(-2px);
}

.lqfaq-item[open] {
    border-color: rgba(0, 77, 48, 0.28);
    box-shadow: 0 13px 35px rgba(42, 20, 20, 0.09);
}


/* ===== Question ===== */

.lqfaq-question {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr) 35px;
    align-items: center;
    gap: 17px;
    min-height: 84px;
    padding: 16px 20px;
    color: #222222;
    cursor: pointer;
    list-style: none;
    outline: none;
}

.lqfaq-question::-webkit-details-marker {
    display: none;
}

.lqfaq-question::marker {
    content: "";
}

.lqfaq-question:focus-visible {
    outline: 3px solid rgba(0, 77, 48, 0.28);
    outline-offset: -3px;
    border-radius: 15px;
}

.lqfaq-question-text {
    color: #222222;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.5;
    transition: color 0.3s ease;
}

.lqfaq-item[open] .lqfaq-question-text {
    color: #b50001;
}


/* ===== Question Icon ===== */

.lqfaq-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    flex-shrink: 0;
    border-radius: 14px;
    background: linear-gradient(145deg, #fff1f1, #fff8e0);
    border: 1px solid rgba(0, 77, 48, 0.11);
    transition:
        background 0.3s ease,
        transform 0.3s ease;
}

.lqfaq-icon svg {
    width: 23px;
    height: 23px;
    fill: none;
    stroke: #004d30;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.lqfaq-item[open] .lqfaq-icon {
    background: linear-gradient(135deg, #004d30, #003520);
    transform: scale(1.03);
}

.lqfaq-item[open] .lqfaq-icon svg {
    stroke: #ffffff;
}


/* ===== Plus / Minus ===== */

.lqfaq-toggle {
    position: relative;
    display: block;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #f7f7f7;
    border: 1px solid #e5e5e5;
    transition:
        background 0.3s ease,
        border-color 0.3s ease,
        transform 0.3s ease;
}

.lqfaq-toggle::before,
.lqfaq-toggle::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 13px;
    height: 2px;
    border-radius: 5px;
    background: #004d30;
    transform: translate(-50%, -50%);
    transition: transform 0.3s ease;
}

.lqfaq-toggle::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

.lqfaq-item[open] .lqfaq-toggle {
    background: #004d30;
    border-color: #004d30;
    transform: rotate(180deg);
}

.lqfaq-item[open] .lqfaq-toggle::before,
.lqfaq-item[open] .lqfaq-toggle::after {
    background: #ffffff;
}

.lqfaq-item[open] .lqfaq-toggle::after {
    transform: translate(-50%, -50%) rotate(0deg);
}


/* ===== Answer ===== */

.lqfaq-answer {
    position: relative;
    padding: 0 28px 26px 89px;
}

.lqfaq-answer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 89px;
    right: 28px;
    height: 1px;
    background: linear-gradient(
        90deg,
        rgba(0, 77, 48, 0.2),
        rgba(255, 215, 0, 0.2),
        transparent
    );
}

.lqfaq-answer p {
    margin: 0;
    padding-top: 20px;
    color: #404040;
    font-size: 15.5px;
    font-weight: 400;
    line-height: 1.85;
}

.lqfaq-answer strong {
    color: #222222;
    font-weight: 700;
}

.lqfaq-answer a {
    color: #003520;
    font-weight: 700;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
    transition: color 0.25s ease;
}

.lqfaq-answer a:hover {
    color: #7f0001;
}

.lqfaq-answer a:focus-visible {
    outline: 2px solid #004d30;
    outline-offset: 3px;
    border-radius: 2px;
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 991px) {

    .lqfaq-section {
        padding: 70px 20px;
    }

    .lqfaq-header {
        margin-bottom: 38px;
    }

    .lqfaq-question {
        grid-template-columns: 48px minmax(0, 1fr) 34px;
        gap: 14px;
        padding: 15px 18px;
    }

    .lqfaq-icon {
        width: 48px;
        height: 48px;
    }

    .lqfaq-answer {
        padding: 0 24px 24px 80px;
    }

    .lqfaq-answer::before {
        left: 80px;
        right: 24px;
    }
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 767px) {

    .lqfaq-section {
        padding: 55px 15px;
    }

    .lqfaq-header {
        margin-bottom: 32px;
    }

    .lqfaq-header h2 {
        font-size: 30px;
    }

    .lqfaq-header p {
        margin-top: 28px;
        font-size: 15px;
        line-height: 1.7;
    }

    .lqfaq-badge {
        padding: 7px 13px;
        font-size: 11px;
        letter-spacing: 0.6px;
    }

    .lqfaq-question {
        grid-template-columns: 42px minmax(0, 1fr) 30px;
        gap: 11px;
        min-height: 72px;
        padding: 14px;
    }

    .lqfaq-icon {
        width: 42px;
        height: 42px;
        border-radius: 11px;
    }

    .lqfaq-icon svg {
        width: 20px;
        height: 20px;
    }

    .lqfaq-question-text {
        font-size: 14.5px;
        line-height: 1.5;
    }

    .lqfaq-toggle {
        width: 30px;
        height: 30px;
    }

    .lqfaq-answer {
        padding: 0 16px 21px 67px;
    }

    .lqfaq-answer::before {
        left: 67px;
        right: 16px;
    }

    .lqfaq-answer p {
        padding-top: 16px;
        font-size: 14px;
        line-height: 1.75;
    }
}


/* =========================================
   SMALL MOBILE
========================================= */

@media (max-width: 480px) {

    .lqfaq-section {
        padding: 45px 12px;
    }

    .lqfaq-header h2 {
        font-size: 27px;
    }

    .lqfaq-header p {
        font-size: 14px;
    }

    .lqfaq-item {
        border-radius: 13px;
    }

    .lqfaq-question {
        grid-template-columns: 38px minmax(0, 1fr) 28px;
        gap: 9px;
        padding: 13px 11px;
    }

    .lqfaq-icon {
        width: 38px;
        height: 38px;
        border-radius: 10px;
    }

    .lqfaq-icon svg {
        width: 18px;
        height: 18px;
    }

    .lqfaq-question-text {
        font-size: 14px;
    }

    .lqfaq-toggle {
        width: 28px;
        height: 28px;
    }

    .lqfaq-toggle::before,
    .lqfaq-toggle::after {
        width: 11px;
    }

    .lqfaq-answer {
        padding: 0 14px 20px 58px;
    }

    .lqfaq-answer::before {
        left: 58px;
        right: 14px;
    }

    .lqfaq-answer p {
        font-size: 13.5px;
        line-height: 1.75;
    }
}

/* ====== New Attraction Section ====== */
/* App Layout */
.New-attraction-app-container {
    max-width: 1500px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.New-attraction-attraction-quality-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 600px) {
    .New-attraction-attraction-quality-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* --- MODIFIED DESKTOP STYLES --- */
@media (min-width: 1024px) {
    .New-attraction-attraction-quality-cards {
        /* Create a 6-column grid to allow for precise placement */
        grid-template-columns: repeat(6, 1fr);
    }

    /* First 3 items (top row): make each span 2 columns */
    .New-attraction-card:nth-child(-n+3) {
        grid-column: span 2;
    }
    
    /* 4th item: start at column 2 and span 2 columns */
    .New-attraction-card:nth-child(4) {
        grid-column: 2 / span 2;
    }

    /* 5th item: start at column 4 and span 2 columns */
    .New-attraction-card:nth-child(5) {
        grid-column: 4 / span 2;
    }
}
/* --- END OF MODIFIED STYLES --- */

/* Card Styles */
.New-attraction-card {
    background-color: white;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.New-attraction-card:hover {
    transform: translateY(-5px);
    /* New primary color with transparency for shadow */
    box-shadow: 0 8px 12px rgba(0, 77, 48, 0.1);
}

.New-attraction-card-image-container {
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.New-attraction-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease-in-out;
}

.New-attraction-card:hover .New-attraction-card-image {
    transform: scale(1.05);
}

.New-attraction-card-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.New-attraction-card-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    /* New primary color */
    color: #004d30;
}

.New-attraction-card-description {
    font-size: 1rem;
    /* Changed to black for contrast on white background */
    color: #000000;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.New-attraction-card-details {
    list-style: none;
    padding-left: 0;
    margin: 0;
    font-size: 0.9rem;
    /* Changed to black for contrast on white background */
    color: #000000;
}

.New-attraction-card-details li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.New-attraction-card-details li + li {
    margin-top: 0.75rem;
}

/* --- UPDATED STYLES FOR ICONS AND LINKS --- */

/* Style for new Font Awesome icons */
.New-attraction-card-details i {
    /* New primary color */
    color: #004d30;
    font-size: 16px;
    width: 16px; /* Ensures alignment is consistent with old SVGs */
    text-align: center;
    flex-shrink: 0;
    margin-top: 3px;
}

/* Style for the link text */
.New-attraction-card-details a {
    color: inherit; /* Use the default text color (black) */
    text-decoration: none;
    transition: color 0.2s ease-in-out;
}

/* Change the link text color on hover */
.New-attraction-card-details a:hover {
    /* New accent color */
    color: #ffd700;
}

/* ===================================================================
   --- 3. NEARBY ATTRACTIONS SECTION ---
   =================================================================== */

.attractions-section {
  background: white; /* Keep as white */
  padding: 39px 8% 80px 8%;
  color: #333; /* Kept for general section text if not overridden */
}

/* Header */
.attractions-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 40px;
}

.attractions-title {
  font-size: 2.8rem;
  font-weight: 500;
  text-transform: uppercase;
  /* Changed to black for contrast on white background */
  color: #000000;
  margin: 0;
  position: relative;
}

.attractions-title span {
  /* UPDATED: Using new accent color */
  color: #ffd700; 
}

.attractions-title::after {
  content: "";
  width: 80px;
  height: 4px;
  /* UPDATED: New accent color */
  background: #ffd700; 
  display: block;
  margin: 12px 0 0;
  border-radius: 2px;
}

/* Attractions Grid */
.attractions-container {
    position: relative;
    z-index: 1;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    padding: 0; /* Remove padding here, controlled by section */
    max-width: 1500px;
}

.attractions-container .category {
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    flex: 1;
}

.attractions-container .category:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.25);
}

.attractions-container .category-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    /* UPDATED: New accent color border */
    border-bottom: 4px solid #ffd700;
}

.attractions-container .category-header {
    padding: 20px;
    /* UPDATED: New primary color background */
    background-color: #004d30; 
    color: white; /* White text on new primary background */
    text-align: center;
}

.attractions-container .category-header h2, .title2 {
    color: white; /* Ensure title is white on dark background */
    margin: 0;
    font-size: 24px;
}

.attractions-container .attraction-list {
    padding: 20px;
}

.attractions-container .attraction {
    padding: 15px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #eee; /* Kept light grey for separation */
}

.attractions-container .attraction:last-child {
    border-bottom: none;
}
.attractions-container .attraction-details {
    flex-grow: 1;
    padding-right: 15px;
}
.attractions-container .attraction-name, .title3-attraction {
    margin-bottom: 4px;
    font-size: 16px;
    /* Changed to black for contrast on white background */
    color: #000000;
}

.attractions-container .attraction-type {
    /* Keep black for contrast on white background */
    color: #000000;
}

.attractions-container .attraction-distance {
    /* UPDATED: New accent color */
    background-color: #ffd700; 
    color: #19231f; /* a11y: white on #ffd700 was 1.40:1 */
    padding: 5px 12px;
    border-radius: 20px;
    min-width: 70px;
    text-align: center;
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: 500;
}

.attractions-container .attraction:hover .attraction-distance {
    /* UPDATED: New primary color on hover */
    background-color: #004d30; 
    transform: scale(1.05);
    color: white; /* Keep white on new primary background */
}

/* ===== Responsive for Nearby Attractions ===== */
@media (max-width: 992px) {
    .attractions-container {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 768px) {
    .attractions-section {
        padding: 40px 15px;
    }
    .attractions-header {
        justify-content: center;
        text-align: center;
    }
    .attractions-title {
        font-size: 2.2rem;
    }
    .attractions-title::after {
        margin: 12px auto 0;
    }
    .attractions-container {
        gap: 30px;
    }
}


/* ====== Gallery and Lightbox ====== */

/* Gallery Grid Styling */
.gallery-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin: 0px auto;
    padding: 20px;
    margin-top: -40px;
}

.gallery-item {
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures images fill the container without distortion */
    display: block;
    cursor: pointer;
    transition: transform 0.3s ease;
}

/* Hover effect on gallery thumbnails */
.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* --- Lightbox Styling --- */

.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85); /* Semi-transparent background */
    z-index: 1000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    /* Animation: Fade-in effect */
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.4s ease-in-out, visibility 0.4s ease-in-out;
}

/* This class will be added by JavaScript to show the lightbox */
.lightbox.active {
    visibility: visible;
    opacity: 1;
}

/* Animation: Zoom-in effect for the image */
#lightbox-img {
    max-width: 90vw;
    max-height: 80vh;  /* Adjusted max-height to make room for caption */
    object-fit: contain;
    border-radius: 5px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.5);
    transform: scale(0.8);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.lightbox.active #lightbox-img {
    transform: scale(1);
}

/* â–¼â–¼â–¼ THIS IS THE NEW CSS FOR THE CAPTION â–¼â–¼â–¼ */
#lightbox-caption {
    text-align: center;
    color: #f1f1f1;
    padding: 10px 0;
    margin-top: 10px;
    font-size: 1.1em;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    transition: opacity 0.4s ease-in-out; /* Fades in with lightbox */
    max-width: 80vw;
}


/* Navigation & Close Buttons */
.close-btn, .prev-btn, .next-btn {
    position: absolute;
    color: white;
    cursor: pointer;
    font-weight: bold;
    user-select: none; /* Prevents text selection */
    transition: color 0.2s ease;
}

.close-btn:hover, .prev-btn:hover, .next-btn:hover {
    color: #bbb;
}

.close-btn {
    top: 20px;
    right: 35px;
    font-size: 40px;
}

.prev-btn, .next-btn {
    top: 50%;
    transform: translateY(-50%);
    font-size: 30px;
    padding: 16px;
}

.prev-btn {
    left: 10px;
}

.next-btn {
    right: 10px;
}

/* ===== Responsive for Gallery and Lightbox ===== */
@media (max-width: 768px) {
    .gallery-container {
        /* Adjust for smaller screens */
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 10px;
        padding: 10px;
        margin-top: -20px;
    }
    #lightbox-img {
        max-width: 95vw;
        max-height: 75vh;
    }
    .close-btn {
        top: 10px;
        right: 20px;
        font-size: 35px;
    }
    .prev-btn, .next-btn {
        font-size: 24px;
        padding: 10px;
    }
    .prev-btn {
        left: 5px;
    }
    .next-btn {
        right: 5px;
    }
     #lightbox-caption {
        font-size: 1em;
    }
}
