/* =========================================
   FACILITIES HERO SECTION
========================================= */
.facility-hero {
    background-color: #F9FAFB; /* Soft, premium off-white */
    padding: 160px 40px 100px;
    text-align: center;
    border-bottom: 1px solid #eaeaea;
}

.facility-hero-content {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.facility-hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    color: #111111;
    margin-bottom: 20px;
}

/* The Modern Short Green Dash */
.header-dash {
    width: 40px;
    height: 4px;
    background-color: #00A651;
    margin-bottom: 30px;
    border-radius: 2px;
}

.facility-hero p {
    font-size: 1.15rem;
    color: #555555;
    line-height: 1.7;
}

/* =========================================
   FACILITIES ALTERNATING SECTIONS
========================================= */
.facility-section {
    padding: 120px 0; /* Massive whitespace for a luxury feel */
}

/* Background Color Pacing */
.light-section { background-color: #F4F5F7; }
.off-white-section { background-color: #F4F5F7; }

/* The "Dark Mode" Break */
.dark-section { 
    background-color: #F4F5F7; 
    color: #FFFFFF;
}
.dark-section h2 { color: #FFFFFF; }
.dark-section p { color: #A0AAB2; }

/* Layout Grid */
.facility-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.reverse-layout {
    direction: rtl; /* Flips the grid so the image is on the left */
}
.reverse-layout > * {
    direction: ltr; /* Keeps the text reading left-to-right */
}

/* Text Formatting */
.facility-tag {
    display: block;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #00A651;
    font-weight: 600;
    margin-bottom: 15px;
}

.facility-text h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 25px;
    color: #111111;
}

.facility-text p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #444444;
    margin-bottom: 20px;
}

/* Image Formatting & Hover Effects */
.facility-image {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08); /* Soft, wide diffused shadow */
    position: relative;
}

/* Removes the harsh shadow on the dark section to blend better */
.dark-section .facility-image {
    box-shadow: 0 20px 40px rgba(0,0,0,0.4); 
}

.facility-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

/* Very subtle micro-interaction */
.facility-image:hover img {
    transform: scale(1.04);
}

/* --- Mobile Responsiveness --- */
@media (max-width: 960px) {
    .facility-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    .reverse-layout {
        direction: ltr;
    }
    .facility-section {
        padding: 80px 0;
    }
}

/* =========================================
   GLOBAL PAGE CONTAINER
========================================= */
.page-container {
    max-width: 1000px; /* Limits how wide the text and images can stretch */
    margin: 0 auto;    /* The magic rule that forces the box to the exact center of the screen */
    padding: 0 40px;   /* Adds a little safety buffer so text doesn't touch the edges on phones */
    width: 100%;
}