/* ============================= */
/* NAVBAR RESPONSIVE DESIGN */
/* ============================= */

/* Desktop default styles */
.navBar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 30px 50px;
}

.navLinks {
  display: flex;
  gap: 30px;
}

.navLinks li a {
  color: white;
  text-decoration: none;
  font-size: 15px;
}

/* HAMBURGER BUTTON */
.menu-btn {
  display: none;
  font-size: 0.85rem;
  cursor: pointer;
  color: #CD7F32;
}

/* ===================================== */
/* Tablet & Mobile (≤ 1130px)            */
/* ===================================== */
@media screen and (max-width: 1130px) {

  /* Hamburger button - positioned far right */
  .menu-btn {
    display: block;
    position: absolute;
    top: 15px;
    right: 25px;
    z-index: 1001;
    cursor: pointer;
    font-size: 30px;
    transition: transform 0.3s ease;
  }

  /* Logo stays top-left */
  .navBar span {
    position: absolute;
    top: 10px;
    left: 25px;
  }

  /* The Sidebar Drawer */
  .navLinks {
    position: fixed;
    top: 0;
    right: 0;
    width: 60%; /* Increased width for better readability */
    height: 100vh;
    background: #713600;
    flex-direction: column;
    justify-content: flex-start; /* Start from top */
    align-items: flex-start;    /* Align text to left */
    padding: 80px 40px;         /* Space for the logo/close btn */
    gap: 15px;
    transform: translateX(100%);
    transition: transform 0.4s ease;
    z-index: 1000;
    overflow-y: auto;           /* Allow scrolling if menu is long */
  }

  .navLinks.active {
    transform: translateX(0);
  }

  /* Main Link Styling */
  .navLinks li {
    width: 100%;
    margin: 10px 0;
    text-align: left;
  }

  .navLinks li a {
    color: #fff !important;
    font-size: 1.2rem;
    display: block;
    width: 100%;
  }

  .fa-times, .fa-xmark {
    transform: rotate(90deg);
    color: #CD7F32; /* Or any color you want for the 'close' state */
  }

  /* --- Dropdown Adjustments --- */
  
  .dropdown-menu {
    position: static;      /* Removes the "floating" absolute position */
    display: none;         /* Hidden by default */
    width: 100%;
    background: rgba(255, 255, 255, 0.1); /* Slight highlight background */
    box-shadow: none;
    padding: 10px 0 10px 20px; /* Indent sub-links */
    transition: none;
  }

  /* Show dropdown on hover (or via JS class) */
  .dropdown-parent:hover .dropdown-menu {
    display: block;
  }

  /* Sub-links specifically set to WHITE */
  .dropdown-menu li a {
    font-size: 1rem !important;
    padding: 8px 0 !important;
    color: #ffffff !important; /* Forces links to white */
    opacity: 0.9;
  }

  .navBar {
    background: transparent !important;
    height: 70px;
  }

.navLinks li a.selectBar i {
    padding: 12px 20px; /* Creates a larger touch target */
    margin-right: -15px; /* Pulls it back to align with the edge */
    cursor: pointer;
    transition: transform 0.3s ease;
    display: inline-block;
    font-size: 1.5rem;
  }

  /* Ensure the text link doesn't wrap weirdly */
  .navLinks li a.selectBar {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
    

    /* This class is added by JS when the dropdown is open */
    .rotate-icon {
        transform: rotate(180deg);
        color: #ffffff !important; 
    }

  /* Ensure the dropdown menu doesn't break the layout */
  .dropdown-menu {
    width: 100%;
    /* Keep your existing dropdown-menu styles below */
  }
}

@media screen and (max-width: 880px){
    .menu-btn {
        font-size: 28px;
    }
    
    /* Hero Overlay Text */
    .hero .content h1{
        font-size: 2.3rem;
    }

    .hero .content p{
        font-size: 1rem;
    }
}

/* Mobile small adjustments (≤ 768px) */
@media screen and (max-width: 768px) {
  .logo {
    font-size: 22px;
  }

  .navLinks li a {
    font-size: 0.85rem;
  }

  .menu-btn {
    font-size: 26px;
  }

  .dropdown-menu li a {
    font-size: 0.9rem !important;
  }

    /* Hero Overlay Text */
    .hero .content h1{
        font-size: 2rem;
    }

    .hero .content p{
        font-size: 0.9rem;
    }
}

/* ======================================== */
/* ABOUT SECTION; HOTEL PREVIEW RESPONSIVE */
/* ====================================== */
@media screen and (max-width: 1200px) {
    .about {
        padding: 80px 0;
    }

    .about header h3 {
        font-size: 2.2rem;
        letter-spacing: 3px;
    }

    .about p {
        font-size: 1.1rem;
        line-height: 1.7;
    }

    .hotelPic img {
        width: 100%;
        max-width: 450px;
        aspect-ratio: 1 / 1;
        height: auto;
        object-fit: cover;
        display: block;
        margin: 0 auto;
    }
}

@media screen and (max-width: 992px) {
    .about .col-md-5, 
    .about .col-md-7 {
        width: 100%;
        flex: 0 0 100%;
        max-width: 100%;
    }

    .hotelPic {
        margin-bottom: 30px;
    }

    .hotelPic img {
        width: 100%;
        max-width: 700px;
        height: 450px;
        object-fit: cover;
        margin: 0 auto;
        display: block;
    }

    .about header h3 {
        text-align: center;
        font-size: 2rem;
    }

    .about p {
        text-align: justify;
        max-width: 800px;
        margin: 0 auto;
        font-size: 1.2rem;
    }
}

@media screen and (max-width: 767px) {
    .about {
        padding: 40px 15px;
        text-align: center;
    }

    .about header h3 {
        font-size: 1.75rem;
        margin-top: 20px;
    }

    .about p {
        font-size: 1rem;
        text-align: justify;
        line-height: 1.5;
    }

    .hotelPic img {
        height: 350px; 
        width: 100%;
        max-width: 500px; 
        margin: 0 auto;
    }
}

@media screen and (max-width: 480px) {
    .hotelPic img {
        height: 250px;
    }
    
    .about header h3 {
        font-size: 1.5rem;
        letter-spacing: 1px;
    }
}

/* ----- ADDITIONAL INFO ICONS RESPONSIVE ----- */
/* Tablet View (2 items per row) */
@media screen and (max-width: 1130px) {
    .flexIcons {
        flex: 0 0 calc(50% - 20px);
        margin-bottom: 20px;
    }
    
    .flexIcons i {
        font-size: 3rem;
    }

    .icon-container{
        padding: 50px 50px;
    }
}

/* Mobile View (1 item per row) */
@media screen and (max-width: 600px) {
    .flexIcons {
        flex: 0 0 100%;
    }

    .icon {
        gap: 30px;
        padding: 40px;
    }
    
    .flexIcons i {
        font-size: 2.5rem;
    }
}

/* ----- ROOMS & SUITES RESPONSIVE ----- */
@media screen and (max-width: 1199px) {
    .roomInfo {
        padding: 80px 20px 5px 20px;
    }

    .roomInfo .card img {
        height: 250px;
    }

    .roomInfo .card-body {
        padding: 30px 15px;
    }

    .roomInfo .card-title {
        font-size: 1.4rem;
    }
}

@media screen and (max-width: 991px) {
    .roomInfo h2 {
        font-size: 2.2rem;
    }

    .roomInfo .card img {
        height: 280px; 
    }
}

@media screen and (max-width: 767px) {
    .roomInfo {
        padding: 60px 15px 5px 15px;
    }

    .roomInfo h2 {
        font-size: 1.8rem;
        letter-spacing: 1px;
    }

    .roomInfo .card {
        margin-bottom: 30px;
        max-width: 450px;
        margin-left: auto;
        margin-right: auto;
    }

    /* Mobile UX: Make overlay slightly visible or easier to trigger */
    .roomInfo .card-overlay {
        opacity: 0.8;
        background: rgba(0, 0, 0, 0.2); 
    }

    .roomInfo .card img {
        height: 220px;
        filter: brightness(0.7);
    }

    .roomInfo .card-body {
        padding: 25px 20px;
    }

    .roomInfo .card-title {
        font-size: 1.3rem;
        margin-bottom: 10px;
    }

    .roomInfo .card-text {
        font-size: 0.95rem;
    }
}

@media screen and (max-width: 480px) {
    .roomInfo h2 {
        font-size: 1.6rem;
    }

    .roomInfo .card img {
        height: 200px;
    }
}

/* 1. DESKTOP ONLY: Hover Effects */
/* Only devices with a mouse will see the "View More" and dimming effect */
@media (hover: hover) {
    .roomInfo .card:hover .card-overlay {
        opacity: 1;
    }

    .roomInfo .card:hover img {
        filter: brightness(0.5);
    }
    
    .roomInfo .card:hover {
        transform: translateY(-5px);
    }
}

/* 2. MOBILE & TABLET: Touch behavior */
@media (hover: none) {
    .roomInfo .card-overlay {
        display: none !important;
    }
    
    .roomInfo .card img {
        filter: brightness(1) !important;
    }

    @media screen and (max-width: 576px) {
        .roomInfo .card {
            width: 100% !important;
        }
    }
}

/* ----- GUEST EXPERIENCE RESPONSIVE ----- */
@media screen and (max-width: 1024px) {
    .testimonial-card {
        padding: 40px 50px;
        max-width: 90%;
    }
}

@media screen and (max-width: 768px) {
    .guest-experience {
        padding: 60px 15px;
    }

    #guestCarousel .carousel-item {
        padding: 0 40px;
    }

    .testimonial-card {
        padding: 30px 40px;
        min-height: auto;
    }

    .testimonial-card .quote {
        font-size: 1.1rem;
        line-height: 1.6;
    }
    
    .stars {
        font-size: 1.2rem;
    }
}

@media screen and (max-width: 480px) {
    #guestCarousel .carousel-item {
        padding: 0 10px;
    }

    .testimonial-card {
        padding: 25px 20px; 
    }

    .carousel-control-prev, 
    .carousel-control-next {
        width: 10%;
    }

    .testimonial-card .quote {
        font-size: 1rem;
    }

    .guest-experience h2 {
        font-size: 1.6rem;
    }
}

/* OTHER SECTIONS; SLAB SECTION RESPONSIVE */
@media screen and (max-width: 992px) {
    .slab-container {
        height: 400px;
        padding: 0 20px;
    }
}

@media screen and (max-width: 768px) {
    .panels-header h2{
        font-size: 1.8rem;
    }

    .panels-header p{
        font-size: 1.2rem;
    }
    
    .slab-section {
        padding-bottom: 60px;
    }

    .slab-container {
        flex-direction: column;
        height: auto;
        padding: 0 15px;
        gap: 15px;
    }

    .slab-item {
        flex: none;
        width: 100%;
        height: 250px;
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,0.2);
    }

    /* Important: Disable horizontal expansion on mobile */
    .slab-item:hover {
        flex: none; 
    }

    .slab-content {
        transform: translateY(0);
        padding: 20px;
    }

    .slab-content p, .slab-btn {
        opacity: 1;
    }

    .slab-content h2 {
        font-size: 1.5rem;
        letter-spacing: 2px;
    }
}

@media screen and (max-width: 480px) {
    .panels-header h2{
        font-size: 1.5rem;
    }

    .panels-header p{
        font-size: 1rem;
        max-width: 400px;
        text-align: center;
    }
}

/* ======================== */
/* SUBPAGE PAGE RESPONSIVE */
/* ====================== */

@media screen and (max-width: 768px) {
    .mainpage-header {
        height: 50vh; 
        min-height: 500px;
    }

    /* Fixed the class name from .dining-content to .mainpage-content */
    .mainpage-content h1 {
        letter-spacing: 2px;
        font-size: 2.2rem; /* Ensures the title doesn't wrap awkwardly */
    }
}


/* ============================= */
/* ROOM INTERFACE RESPONSIVE */
/* ============================= */
@media screen and (max-width: 992px) {
    .room-card {
        flex-direction: column;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }

    .room-image img {
        height: 300px;
    }

    .room-details {
        padding: 30px;
        text-align: center;
    }

    .room-specs {
        justify-content: center;
        flex-wrap: wrap;
        gap: 15px;
        margin-bottom: 25px;
    }
}

@media screen and (max-width: 576px) {
    .room-interface {
        padding: 40px 15px;
    }

    .room-card {
        width: 100%;
    }

    .room-details h3 {
        font-size: 1.4rem;
    }

    .room-specs span {
        font-size: 0.85rem;
        display: block;
        width: 100%;
    }
    
    .btn-book {
        width: 100%;
    }
}

/* ============================= */
/* SUBROOM PAGE RESPONSIVE */
/* ============================= */
/* Header */
@media screen and (max-width: 768px) {
    .subRoom-header {
        margin-top: 60px;
        padding: 40px 15px 20px 15px;
    }

    .subRoom-header .facility-header-content p {
        font-size: 1rem;
        letter-spacing: 1px;
    }
}

/* Gallery & Thumbnails */
@media screen and (max-width: 992px) {
    .main-display-container {
        height: 450px;
    }
}

@media screen and (max-width: 768px) {
    .main-display-container {
        height: 450px;
        width: 100%;
    }

    .thumb-item {
        flex: 0 0 calc(33.33% - 10px);
        height: 120px;
    }

    .gallery-carousel-wrapper {
        width: 100%;
        gap: 10px;
    }   
}

@media screen and (max-width: 480px) {
    .main-display-container {    
        height: auto;
        width: 100%;
        box-shadow: none;
    }

    .main-display-container img {
        width: 100%;
        height: auto;
        display: block; 
        object-fit: fill; 
    }
    .gallery-carousel-wrapper {
        width: 100%;
        gap: 10px;
    }   
}

/* ----- SPECS BAR (Mobile) ----- */
@media screen and (max-width: 768px) {
    .subRoom-specs {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px 30px;
        padding: 15px 10px;
        font-size: 0.9rem;
    }

    .subRoom-specs span {
        display: flex;
        align-items: center;
        gap: 8px;
        white-space: nowrap;
    }

    .subRoom-specs span i {
        font-size: 1.1rem;
    }
}

@media screen and (max-width: 480px) {
    .subRoom-specs {
        gap: 15px 20px;
        font-size: 0.8rem;
    }
}

/* Grid (3 Columns to 1 Column) */
@media screen and (max-width: 992px) {
    .features-content {
        grid-template-columns: repeat(2, 1fr);
        padding: 20px 20px 50px 20px;
    }
}

@media screen and (max-width: 600px) {
    .features-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .feature-wrap h6 {
        font-size: 1.1rem;
    }

    .feature-wrap span {
        font-size: 1.8rem;
    }

    .amenities-content h6 {
        font-size: 1rem;
        word-spacing: 2px;
    }
}

/* ======================= */
/* DINING PAGE RESPONSIVE */
/* ===================== */

/* 1. The Cursive Heading */
@media screen and (max-width: 768px) {
    .dining-name h2 {
        font-size: 3.5rem;
        letter-spacing: 2px;
    }
}

@media screen and (max-width: 480px) {
    .dining-name h2 {
        font-size: 2.5rem;
    }
}

/* 2. Horizontal Gallery */
@media screen and (max-width: 768px) {
    .gallery-container {
        overflow-x: auto;
        overflow-x: scroll; 
        -webkit-overflow-scrolling: touch;
        padding-top: 30px;
        gap: 15px;
    }

    .gallery-item {
        width: 280px;
        height: 220px;
    }

    /* Hide navigation arrows on mobile */
    .gallery-btn {
        display: none;
    }
}

/* 3. Dining About Text */
@media screen and (max-width: 768px) {
    .diningAbout {
        padding: 50px 20px;
    }

    .diningAbout p {
        font-size: 1rem;
        text-align: justify; /* Better readability on narrow screens */
    }
}

/* 4. Operating Hours Table */
@media screen and (max-width: 768px) {
    .diningOperation h2 {
        font-size: 1.8rem;
    }

    .operation-container {
        padding: 0 10px;
    }

    .diningOperation tbody td {
        padding: 15px 10px !important; /* Reduce vertical padding */
        font-size: 0.95rem;
    }
    
    .diningOperation thead th {
        padding: 10px !important;
        font-size: 1rem;
    }
}

@media screen and (max-width: 480px) {
    /* If the table is still too wide, allow it to scroll horizontally */
    .operation-container {
        overflow-x: auto;
    }
    
    .diningOperation .table {
        min-width: 400px; /* Prevents the table from squishing too much */
    }
}

/* ============================= */
/* EVENTS & MEETING RESPONSIVE  */
/* ============================= */

/* 1. Event Gallery Grid */
@media screen and (max-width: 1024px) {
    .event-gallery {
        grid-template-columns: repeat(2, 1fr); /* 2 columns for tablets */
        padding-bottom: 80px;
    }
    
    .event-card {
        height: 400px; /* Slightly shorter cards */
    }
}

@media screen and (max-width: 768px) {
    .event-gallery {
        grid-template-columns: 1fr; /* 1 column for mobile */
        gap: 30px;
        padding-bottom: 60px;
    }

    .event-card {
        height: 350px;
    }

    /* Mobile UX: Make text visible since there is no hover */
    .event-card-content p,
    .event-link-text {
        opacity: 1;
        transform: translateY(0);
    }

    .event-card img {
        filter: brightness(60%) grayscale(0%); /* Permanent overlay for readability */
    }

    .event-card-content {
        padding: 25px;
    }

    .event-card-content h2 {
        font-size: 1.5rem;
    }
}

/* 2. Intro Text Adjustments */
@media screen and (max-width: 768px) {
    .event-intro {
        text-align: center;
        padding: 0 15px;
    }

    .title-subIntro {
        font-size: 2rem;
    }

    .event-intro p {
        font-size: 1rem;
        line-height: 1.6;
    }
}

@media screen and (max-width: 480px) {
    .event-card {
        height: 300px;
    }

    .event-card-content h2 {
        font-size: 1.3rem;
        letter-spacing: 1px;
    }
}

/* ============================= */
/* SUBROOM (BALLROOM) RESPONSIVE */
/* ============================= */

@media screen and (max-width: 1024px) {
    .room-photo {
        height: 500px;
    }
    
    .event-contactDetails {
        margin-left: 50px;
    }

    .event-description p {
        font-size: 1.2rem;
        text-align: justify;
        margin: 0 auto;
        width: 95%;
        max-width: 95%;
        padding-bottom: 10px;
    }
}

@media screen and (max-width: 768px) {
    .room-photo {
        height: 400px;
    }

    .event-description {
        padding-bottom: 20px;
    }

    .event-description p {
        font-size: 1.1rem;
        text-align: justify;
        margin: 0 auto;
        width: 90%;
        max-width: 90%;
        padding-bottom: 5px;
    }

    .event-contact {
        align-items: center;
        padding-bottom: 60px;
        font-size:0.8rem;
    }

    .event-contactDetails {
        margin-left: 0;
        justify-content: left;
        width: 90%;
    }

    .event-contactDetails h4 {
        font-size: 1rem;
    }
}

@media screen and (max-width: 480px) {
    .room-photo {
        height: 300px;
    }

    .subroom-content h3 {
        font-size: 1.4rem;
    }

    .event-contactDetails {
        gap: 10px;
    }
    
    .event-contactDetails h4 {
        font-size: 0.9rem;
    }
}

/* ============================= */
/* SEMINAR PAGE RESPONSIVE       */
/* ============================= */

@media screen and (max-width: 991px) {
    .seminar-rooms {
        gap: 40px; /* Tighten space between room links */
    }
}

/* Medium Screens (Tablets - 768px) */
@media screen and (max-width: 768px) {
    .seminar-rooms {
        flex-wrap: wrap; /* Allows links to drop to next line if they don't fit */
        gap: 20px;
        padding: 10px 15px;
    }

    .seminar-rooms a {
        font-size: 0.9rem;
        letter-spacing: 1px;
    }

    /* Stack contact info vertically for better mobile fit */
    .seminar-content .event-contact {
        flex-direction: column; 
        gap: 15px;
    }
}

/* Small Mobile Screens (480px) */
@media screen and (max-width: 480px) {
    .seminar-rooms {
        flex-direction: column; /* Stack room links vertically */
        gap: 15px;
        text-align: center;
    }

    .seminar-rooms a {
        display: block;
        padding: 5px 0;
        width: 80%;
    }

    .seminar-rooms a:last-child {
        border-bottom: none;
    }

    .seminar-content {
        padding-bottom: 40px !important;
    }
}

/* ============================= */
/* FACILITIES PAGE RESPONSIVE    */
/* ============================= */
@media screen and (max-width: 1200px) {
    .facility-grid {
        max-width: 95%;
    }

    .facility-content {
        padding: 70px 30px;
    }

    .facility-card img {
        width: 100%; 
        max-width: 380px;
        height: auto;
        aspect-ratio: 1 / 1; 
        margin: 0 auto;
    }

    .facility-grid h2 {
        font-size: 1.7rem;
        margin-bottom: 15px;
    }

    .facility-grid p {
        font-size: 1.1rem;
        max-width: 80%;
    }
}

@media screen and (max-width: 768px) {
    .facility-grid h2 {
        font-size: 1.5rem;
    }

    .facility-grid p {
        font-size: 1rem;
        padding-bottom: 20px;
    }

    .facility-card img {
        width: 100%;
        max-width: 450px;
        height: auto;
        aspect-ratio: 1 / 1;
    }
}

/* Small Mobile Screens (480px) */
@media screen and (max-width: 480px) {
    .facility-content {
        padding: 40px 15px;
    }

    .facility-grid h2 {
        font-size: 1.3rem;
        letter-spacing: 1px;
    }

    .facility-grid p {
        font-size: 0.95rem;
        line-height: 1.5;
    }

    .facility-card img {
        max-width: 100%; /* Full width on small phones */
    }

    .facility-grid a {
        font-size: 1rem;
    }
}

/* ============================= */
/* FACILITY DETAIL RESPONSIVE */
/* ============================= */

@media screen and (max-width: 768px) {
    .facility-image-wrapper img {
        height: 350px; /* Forces a consistent height for mobile */
        object-fit: cover; /* Prevents the "drag/stretch" look */
        object-position: center;
    }

    .facility-text-desc {
        padding: 0 15px; /* Adds breathing room for text on mobile */
        font-size: 1rem;
    }
}

/* ============================= */
/* FACILITY INFO BANNER RESPONSIVE */
/* ============================= */

@media screen and (max-width: 600px) {
    .facility-information {
        padding: 100px 20px; 
    }

    .facility-info-wrap h4 {
        font-size: 1.1rem; 
        letter-spacing: 1px;
    }

    .facility-info-wrap p {
        font-size: 0.85rem;
        margin-top: 20px;
    }
}

/* ============================= */
/* POOL FACILITY RESPONSIVE */
/* ============================= */

@media screen and (max-width: 768px) {
    .facility-gallery-grid {
        grid-template-columns: 1fr; /* Stack everything in one column on mobile */
    }
    
    .main-image img, .side-images img {
        height: 300px; /* Consistent height for mobile */
    }
}

/* ============================= */
/* PROMOTION PAGE RESPONSIVE */
/* ============================= */

/* 1. Promo Tabs (The Buttons) */
@media screen and (max-width: 768px) {
    .promo-tabs {
        gap: 10px;
        flex-wrap: wrap; /* Allows buttons to drop to a second row on small screens */
        padding: 0 10px;
    }

    .tab-btn {
        padding: 8px 15px;
        font-size: 0.9rem;
        flex: 1 1 auto; /* Buttons grow to fill the row width */
        text-align: center;
    }
}

/* 2. Promo Grid (3 Columns -> 2 Columns -> 1 Column) */
@media screen and (max-width: 1024px) {
    .promo-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 items per row for tablets */
        gap: 20px;
        padding: 0 20px 80px 20px;
    }
}

@media screen and (max-width: 600px) {
    .promo-grid {
        grid-template-columns: 1fr; /* 1 item per row for phones */
        gap: 25px;
        padding: 0 15px 60px 15px;
    }

    .promo-overlay h3 {
        font-size: 1.15rem; /* Slightly smaller text for mobile cards */
        letter-spacing: 1px;
    }

    .promo-card {
        max-width: 450px; /* Keep cards from getting too wide on large phones */
        margin: 0 auto;   /* Center the cards */
    }
}

/* 3. Animation Tweak for Mobile */
@media (prefers-reduced-motion: no-preference) {
    .promo-item.show {
        /* Keep the animation, but make it subtler for mobile performance */
        animation: fadeIn 0.4s ease-out forwards;
    }
}

/* ============================= */
/* LOCATION PAGE RESPONSIVE */
/* ============================= */
/* 1. Map Section Header & Row */
@media screen and (max-width: 1024px) {
    /* 1. Map Section */
    .location-row {
        gap: 15px;
        padding: 0 20px;
    }

    .map-col {
        flex: 1.8;
    }

    .ways-col {
        flex: 1.2;
    }
}

@media screen and (max-width: 992px) {
    .location-row {
        flex-direction: column;
        align-items: stretch;
    }

    .icon-bar {
        width: 100%;
        margin: 0 0 20px 0;
        text-align: center;
    }

    .direction-image {
        justify-content: center;
    }

    .map-col, .ways-col {
        width: 100%;
        min-width: 100%;
    }
}

@media screen and (max-width: 768px) {
    .location-map {
        padding: 30px 15px;
    }

    .location-address {
        flex-direction: row;     
        justify-content: center;
        align-items: flex-start;
        text-align: left;
        gap: 12px;
        width: 100%;
        max-width: 300px;
        margin: 0 auto 20px auto;
    }

    .location-icon i {
        margin-top: 4px;
    }

    .map-responsive {
        height: 350px;
    }

    .ways-col h4 {
        text-align: center;
        margin-top: 30px;
    }
}

/* 2. Nearby Landmarks Section */
@media screen and (max-width: 1024px) {
    .location-landmark {
        gap: 10px;
        justify-content: space-around;
        padding: 40px 30px;
    }

    .landmark-left, .landmark-right {
        flex: 1;
        max-width: 350px;
    }

    .location-landmark-text {
        flex: 1 1 100%;
        margin-bottom: 20px;
    }

    .location-landmark p {
        font-size: 0.85rem; 
        letter-spacing: 0.5px;
    }

    .location-landmark i {
        font-size: 1.6rem;
        width: 35px;
    }
}

@media screen and (max-width: 1100px) {
    .location-landmark {
        gap: 40px;
        flex-wrap: wrap; /* Allows sections to wrap */
    }
    
}

@media screen and (max-width: 768px) {
    .location-landmark {
        flex-direction: column;
        align-items: center;
        gap: 5px;
        padding: 50px 15px;
    }

    .location-landmark-text {
        width: 100%;
    }

    /* Make landmark items grid-like on mobile for better space usage */
    .landmark-terminal, .landmark-hospital, 
    .landmark-museum, .landmark-garden, 
    .landmark-zoo, .landmark-atv {
        width: 100%;
        justify-content: center;
        gap: 15px;
    }

    .location-landmark i {
        font-size: 1.5rem;
        width: 30px;
    }

    .location-landmark p {
        font-size: 0.9rem;
        letter-spacing: 0.5px;
    }

    .landmark-left{
        padding-top: 30px;
    }
}

@media screen and (max-width: 480px) {
    .location-landmark-text img {
        max-width: 200px; /* Shrink logo/image for small phones */
    }

    .acc-header {
        font-size: 0.9rem;
        padding: 12px;
    }
    
    .landmark-left{
        padding-top: 30px;
    }
}

/* ============================= */
/* SUBROOM PAGE RESPONSIVE */
/* ============================= */

@media (max-width: 768px) {
    .features-content {
        /* On mobile, switch to 2 columns or 1 column */
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ===================================== */
/* Content & Policy Styling (All Screens) */
/* ===================================== */
@media screen and (max-width: 1130px) {
    .subpage-header {
        height: 250px;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        padding: 0 20px;
    }

    .facility-header-content h1 {
        font-size: 2rem;
    }

    .facility-header-content h3 {
        font-size: 1.2rem;
    }

    .terms_content {
        width: 98%;
        padding: 30px 10px;
        margin: 20px auto;
    }
}

@media screen and (max-width: 768px) {
    .content_wrap h4 {
        font-size: 1.1rem;
    }

    .content_wrap p {
        font-size: 0.95rem;
        line-height: 1.6;
    }
}