<?php require_once __DIR__ . '/includes/auth.php'; ?>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Facilities - Oldage Home</title>
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css" rel="stylesheet">
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css">
    <link href="https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap" rel="stylesheet">
    <link rel="stylesheet" href="css/style.css">
    <style>
        .facilities-hero {
            background:
                linear-gradient(135deg, rgba(18, 52, 77, 0.88), rgba(30, 95, 116, 0.72)),
                url('images/room-interior.jpg') center/cover no-repeat;
            min-height: 58vh;
            display: flex;
            align-items: center;
        }
        .facilities-hero__card {
            background: linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
            border: 1px solid rgba(255, 255, 255, 0.14);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            border-radius: 28px;
            padding: 2rem;
            color: #fff;
            box-shadow: 0 26px 60px rgba(5, 18, 31, 0.22);
        }
        .facility-stat {
            background: #fff;
            border-radius: 22px;
            padding: 1.4rem;
            box-shadow: 0 18px 40px rgba(31, 51, 73, 0.08);
            height: 100%;
        }
        .facility-stat__icon {
            width: 54px;
            height: 54px;
            border-radius: 16px;
            background: rgba(30, 95, 116, 0.12);
            color: #1e5f74;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            font-size: 1.25rem;
            margin-bottom: 1rem;
        }
        .facility-showcase {
            background: #fff;
            border-radius: 28px;
            overflow: hidden;
            box-shadow: 0 22px 50px rgba(31, 51, 73, 0.08);
        }
        .facility-showcase img {
            width: 100%;
            height: 100%;
            min-height: 320px;
            object-fit: cover;
        }
        .facility-showcase__content {
            padding: 2rem;
        }
        .facility-showcase__tag {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 8px 14px;
            border-radius: 999px;
            background: rgba(255, 154, 60, 0.12);
            color: #e85d2a;
            font-weight: 700;
            font-size: 0.82rem;
            letter-spacing: 0.04em;
            text-transform: uppercase;
            margin-bottom: 1rem;
        }
        .facility-checks li {
            margin-bottom: 0.9rem;
            font-weight: 500;
            color: #355067;
        }
        .facility-checks i {
            color: #159895;
        }
        .amenity-card {
            background: #fff;
            border-radius: 20px;
            padding: 1.5rem;
            height: 100%;
            box-shadow: 0 16px 34px rgba(31, 51, 73, 0.07);
            text-align: center;
        }
        .amenity-card i {
            width: 62px;
            height: 62px;
            border-radius: 18px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            background: linear-gradient(135deg, rgba(21, 152, 149, 0.12), rgba(255, 154, 60, 0.12));
            color: #12344d;
            font-size: 1.45rem;
            margin-bottom: 1rem;
        }
        .facilities-cta {
            background: linear-gradient(135deg, #12344d 0%, #1e5f74 100%);
            color: #fff;
            border-radius: 28px;
            padding: 2.25rem;
            box-shadow: 0 24px 52px rgba(18, 52, 77, 0.2);
        }
        @media (max-width: 767.98px) {
            .facilities-hero {
                min-height: auto;
                padding: 2rem 0;
            }
            .facilities-hero__card,
            .facility-showcase__content,
            .facilities-cta {
                padding: 1.35rem;
            }
            .facility-showcase img {
                min-height: 240px;
            }
        }
    </style>
</head>
<body>
    <?php include 'includes/header.php'; ?>

    <section class="facilities-hero">
        <div class="container">
            <div class="row justify-content-center">
                <div class="col-xl-10">
                    <div class="facilities-hero__card text-center text-lg-start">
                        <div class="row align-items-center g-4">
                            <div class="col-lg-7">
                                <span class="badge px-3 py-2 mb-3" style="background: rgba(255,255,255,0.9); color: #12344d; border-radius: 999px;">Designed For Comfort, Safety, and Dignity</span>
                                <h1 class="display-5 fw-bold mb-3">Facilities That Feel Warm, Secure, and Truly Livable</h1>
                                <p class="lead mb-0">Oldage Home offers thoughtfully planned living spaces, wellness areas, dining halls, gardens, and support amenities that help residents feel calm, cared for, and at home.</p>
                            </div>
                            <div class="col-lg-5">
                                <div class="row g-3">
                                    <div class="col-6">
                                        <div class="facility-stat text-dark">
                                            <div class="facility-stat__icon"><i class="fas fa-bed"></i></div>
                                            <h3 class="h4 mb-1">Private Rooms</h3>
                                            <p class="mb-0 text-muted">Accessible layouts with personal comfort in mind.</p>
                                        </div>
                                    </div>
                                    <div class="col-6">
                                        <div class="facility-stat text-dark">
                                            <div class="facility-stat__icon"><i class="fas fa-user-nurse"></i></div>
                                            <h3 class="h4 mb-1">24/7 Support</h3>
                                            <p class="mb-0 text-muted">Care assistance and responsive staff at all times.</p>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </section>

    <section class="py-5">
        <div class="container">
            <div class="row text-center mb-5">
                <div class="col-lg-8 mx-auto">
                    <h2 class="fw-bold mb-3">A Professional Environment Built Around Everyday Well-Being</h2>
                    <p class="text-muted lead">Every facility area is planned to balance medical readiness, comfort, social connection, and peaceful daily living.</p>
                </div>
            </div>

            <div class="row g-4 mb-5">
                <div class="col-md-6 col-xl-3">
                    <div class="facility-stat">
                        <div class="facility-stat__icon"><i class="fas fa-shield-heart"></i></div>
                        <h5 class="fw-bold">Safe Living</h5>
                        <p class="mb-0 text-muted">Accessible rooms, monitored common areas, and reliable emergency support.</p>
                    </div>
                </div>
                <div class="col-md-6 col-xl-3">
                    <div class="facility-stat">
                        <div class="facility-stat__icon"><i class="fas fa-utensils"></i></div>
                        <h5 class="fw-bold">Healthy Dining</h5>
                        <p class="mb-0 text-muted">Fresh, balanced meals with personalized dietary support and comfortable dining spaces.</p>
                    </div>
                </div>
                <div class="col-md-6 col-xl-3">
                    <div class="facility-stat">
                        <div class="facility-stat__icon"><i class="fas fa-spa"></i></div>
                        <h5 class="fw-bold">Relaxation Areas</h5>
                        <p class="mb-0 text-muted">Calm lounges, landscaped gardens, and wellness spaces that reduce stress.</p>
                    </div>
                </div>
                <div class="col-md-6 col-xl-3">
                    <div class="facility-stat">
                        <div class="facility-stat__icon"><i class="fas fa-people-group"></i></div>
                        <h5 class="fw-bold">Community Spaces</h5>
                        <p class="mb-0 text-muted">Rooms for social events, activities, therapy, and meaningful family visits.</p>
                    </div>
                </div>
            </div>

            <div class="facility-showcase mb-5">
                <div class="row g-0 align-items-stretch">
                    <div class="col-lg-5">
                        <img src="images/room-interior.jpg" alt="Comfortable accommodation" onerror="this.src='https://via.placeholder.com/800x600?text=Accommodation'">
                    </div>
                    <div class="col-lg-7">
                        <div class="facility-showcase__content">
                            <div class="facility-showcase__tag"><i class="fas fa-bed"></i>Comfortable Accommodation</div>
                            <h3 class="fw-bold mb-3">Resident Rooms Designed for Independence and Rest</h3>
                            <p class="text-muted mb-4">Our private and semi-private accommodations are arranged to support safety, easy movement, and a sense of familiarity. Residents enjoy comfortable furnishings, natural light, accessible layouts, and personal storage that make daily life easier.</p>
                            <ul class="list-unstyled facility-checks mb-0">
                                <li><i class="fas fa-check-circle me-2"></i>Private and semi-private room options</li>
                                <li><i class="fas fa-check-circle me-2"></i>Accessible bathroom and mobility-friendly layout</li>
                                <li><i class="fas fa-check-circle me-2"></i>Adjustable furniture and resident storage</li>
                                <li><i class="fas fa-check-circle me-2"></i>Climate comfort, ventilation, TV, and Wi-Fi support</li>
                            </ul>
                        </div>
                    </div>
                </div>
            </div>

            <div class="facility-showcase mb-5">
                <div class="row g-0 align-items-stretch">
                    <div class="col-lg-7 order-2 order-lg-1">
                        <div class="facility-showcase__content">
                            <div class="facility-showcase__tag"><i class="fas fa-utensils"></i>Dining Experience</div>
                            <h3 class="fw-bold mb-3">Warm Dining Spaces with Nutrition-Led Meal Planning</h3>
                            <p class="text-muted mb-4">Meals are served in a welcoming environment that encourages social connection while respecting individual dietary needs. Our team prioritizes nourishment, taste, and consistency so residents can enjoy every meal comfortably.</p>
                            <ul class="list-unstyled facility-checks mb-0">
                                <li><i class="fas fa-check-circle me-2"></i>Chef-prepared daily meals and refreshments</li>
                                <li><i class="fas fa-check-circle me-2"></i>Meal plans aligned with dietary restrictions</li>
                                <li><i class="fas fa-check-circle me-2"></i>Special celebration and private family dining support</li>
                                <li><i class="fas fa-check-circle me-2"></i>Clean, bright, and easy-to-access dining hall</li>
                            </ul>
                        </div>
                    </div>
                    <div class="col-lg-5 order-1 order-lg-2">
                        <img src="images/dining.jpg" alt="Dining area" onerror="this.src='https://via.placeholder.com/800x600?text=Dining+Area'">
                    </div>
                </div>
            </div>

            <div class="facility-showcase">
                <div class="row g-0 align-items-stretch">
                    <div class="col-lg-5">
                        <img src="images/garden.jpg" alt="Garden and activity areas" onerror="this.src='https://via.placeholder.com/800x600?text=Garden+Area'">
                    </div>
                    <div class="col-lg-7">
                        <div class="facility-showcase__content">
                            <div class="facility-showcase__tag"><i class="fas fa-seedling"></i>Recreation & Wellness</div>
                            <h3 class="fw-bold mb-3">Spaces That Encourage Activity, Calm, and Social Connection</h3>
                            <p class="text-muted mb-4">From landscaped outdoor areas to therapy and recreation rooms, our facilities help residents stay engaged and relaxed. These areas are built to support both independent enjoyment and guided group programs.</p>
                            <ul class="list-unstyled facility-checks mb-0">
                                <li><i class="fas fa-check-circle me-2"></i>Landscaped gardens and walking-friendly spaces</li>
                                <li><i class="fas fa-check-circle me-2"></i>Activity rooms for hobbies, games, and crafts</li>
                                <li><i class="fas fa-check-circle me-2"></i>Quiet reading and reflection corners</li>
                                <li><i class="fas fa-check-circle me-2"></i>Exercise, therapy, and guided wellness zones</li>
                            </ul>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </section>

    <section class="bg-light py-5">
        <div class="container">
            <div class="row text-center mb-5">
                <div class="col-lg-8 mx-auto">
                    <h2 class="fw-bold mb-3">Additional Amenities</h2>
                    <p class="text-muted lead">Everyday conveniences that make life smoother for residents and families.</p>
                </div>
            </div>
            <div class="row g-4">
                <div class="col-md-6 col-xl-3"><div class="amenity-card"><i class="fas fa-wifi"></i><h6 class="fw-bold">High-Speed Wi-Fi</h6><p class="mb-0 text-muted">Reliable connectivity in key resident and visitor areas.</p></div></div>
                <div class="col-md-6 col-xl-3"><div class="amenity-card"><i class="fas fa-car"></i><h6 class="fw-bold">Visitor Parking</h6><p class="mb-0 text-muted">Convenient parking for family members and scheduled visitors.</p></div></div>
                <div class="col-md-6 col-xl-3"><div class="amenity-card"><i class="fas fa-shirt"></i><h6 class="fw-bold">Laundry Support</h6><p class="mb-0 text-muted">Managed laundry services for clothing and essential linens.</p></div></div>
                <div class="col-md-6 col-xl-3"><div class="amenity-card"><i class="fas fa-scissors"></i><h6 class="fw-bold">Beauty & Grooming</h6><p class="mb-0 text-muted">On-site grooming support to help residents feel fresh and confident.</p></div></div>
                <div class="col-md-6 col-xl-3"><div class="amenity-card"><i class="fas fa-pray"></i><h6 class="fw-bold">Reflection Space</h6><p class="mb-0 text-muted">A peaceful area for prayer, reflection, and quiet moments.</p></div></div>
                <div class="col-md-6 col-xl-3"><div class="amenity-card"><i class="fas fa-store"></i><h6 class="fw-bold">Convenience Access</h6><p class="mb-0 text-muted">Quick access to personal essentials and small daily needs.</p></div></div>
                <div class="col-md-6 col-xl-3"><div class="amenity-card"><i class="fas fa-phone-volume"></i><h6 class="fw-bold">Communication Support</h6><p class="mb-0 text-muted">Telephone and communication support for residents and families.</p></div></div>
                <div class="col-md-6 col-xl-3"><div class="amenity-card"><i class="fas fa-envelope-open-text"></i><h6 class="fw-bold">Mail Handling</h6><p class="mb-0 text-muted">Organized mail collection and delivery support for residents.</p></div></div>
            </div>
        </div>
    </section>

    <section class="py-5">
        <div class="container">
            <div class="facilities-cta text-center text-lg-start">
                <div class="row align-items-center g-4">
                    <div class="col-lg-8">
                        <h2 class="fw-bold mb-3">See the Environment Before You Decide</h2>
                        <p class="lead mb-0">Schedule a visit to explore the accommodation, dining areas, wellness spaces, and shared amenities in person.</p>
                    </div>
                    <div class="col-lg-4 text-lg-end">
                        <a href="contact.php" class="btn btn-light btn-lg me-lg-2 mb-2 mb-lg-0">Book a Visit</a>
                        <a href="admission.php" class="btn btn-outline-light btn-lg">Admission Info</a>
                    </div>
                </div>
            </div>
        </div>
    </section>

    <?php include 'includes/footer.php'; ?>
    <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/js/bootstrap.bundle.min.js"></script>
    <script src="js/main.js"></script>
</body>
</html>
