﻿/* ================= GLOBAL ================= */
body {
    overflow-x: hidden;
}

/* ================= HERO ================= */
.hero-section {
    position: relative;
    min-height: 600px;
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('https://sunrisedreamworldresort.com/Content/rooms/SPA01117.webp');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    color: #fff;
}

.hero-content {
    max-width: 1200px;
    margin: auto;
    padding: 20px;
}

    .hero-content h1 {
        font-size: 3rem;
    }

    .hero-content p {
        font-size: 1.2rem;
        max-width: 600px;
    }

/* ================= INFO BAR ================= */
.info-bar {
    background: #111;
    padding: 40px 20px;
}

.info-container {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    text-align: center;
}

/* ================= OVERVIEW ================= */
.overview-section {
    padding: 80px 20px;
    background: #0f0f0f;
}

/* ================= FACILITIES ================= */
.facilities-section {
    padding: 60px 20px;
    background: #0a0a0a;
}

.facilities-grid {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

/* ================= ROOMS ================= */
.room-cards {
    padding: 80px 20px;
    background: #0f0f0f;
}

.room-card {
    max-width: 1200px;
    margin: 0 auto 60px;
    background: #1a1a1a;
    display: grid;
    grid-template-columns: 1fr 1fr;
    overflow: hidden;
}

.room-image {
    width: 100%;
    height: 100%;
    min-height: 400px;
    object-fit: cover;
}

.room-content {
    padding: 40px;
}

/* ================= BATHROOM ================= */
.bathroom-section {
    padding: 80px 20px;
    background: #0a0a0a;
}

.bathroom-grid {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.bathroom-images img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

/* ================= MOBILE ================= */
@media (max-width: 768px) {

    .hero-section {
        min-height: auto;
        padding: 80px 15px;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 1.8rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .info-container {
        grid-template-columns: 1fr;
    }

    .facilities-grid {
        grid-template-columns: 1fr;
    }

    .room-card {
        grid-template-columns: 1fr;
    }

    .room-image {
        min-height: 220px;
    }

    .bathroom-grid {
        grid-template-columns: 1fr;
    }
}
/* ================= BUTTON ================= */

.btn-book {
    display: inline-block;
    padding: 14px 36px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff !important;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
}

    .btn-book:hover {
        transform: translateY(-3px);
        box-shadow: 0 12px 30px rgba(102, 126, 234, 0.6);
        color: #fff;
    }

    .btn-book:active {
        transform: translateY(0);
    }

/* ================= ROOM OVERVIEW ================= */

.overview-section h3 {
    font-size: 2rem;
    color: #fff;
    margin-bottom: 20px;
}

.overview-section p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #bbb;
}

/* Mobile text readable */
@media (max-width: 768px) {
    .overview-section h3 {
        font-size: 1.6rem;
        text-align: center;
    }

    .overview-section p {
        font-size: 1rem;
        text-align: center;
    }
}

/* ================= VIDEO FIX ================= */

.video-container {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 ratio */
    overflow: hidden;
    border-radius: 12px;
}

    .video-container iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border: 0;
    }

/* Mobile spacing */
@media (max-width: 768px) {
    .video-container {
        margin-top: 20px;
    }
}

/* ================= ROOM CARDS ================= */

.room-card {
    max-width: 1200px;
    margin: 0 auto 60px;
    background: #1a1a1a;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
    overflow: hidden;
    border-radius: 15px;
}

.room-content {
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.room-image {
    width: 100%;
    height: 100%;
    min-height: 400px;
    object-fit: cover;
}

/* Reverse layout */
.room-card.reverse {
    direction: rtl;
}

    .room-card.reverse > * {
        direction: ltr;
    }

/* ================= MOBILE ================= */
@media (max-width: 768px) {

    .room-card {
        grid-template-columns: 1fr;
    }

        .room-card.reverse {
            direction: ltr;
        }

    .room-image {
        min-height: 220px;
    }

    .room-content {
        padding: 30px 20px;
        text-align: center;
    }
}

/* ===== ROOM CONTENT FONT FIX ===== */

.room-content h2 {
    font-size: 2rem;
    line-height: 1.3;
}

.room-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 25px;
}

/* ===== ROOM BUTTON FIX ===== */

.room-content .btn-book {
    padding: 12px 28px;
    font-size: 0.95rem;
    max-width: 160px;
}

@media (max-width: 768px) {

    .room-content h2 {
        font-size: 1.6rem;
    }

    .room-content p {
        font-size: 1rem;
    }

    .room-content .btn-book {
        padding: 10px 24px;
        font-size: 0.9rem;
        margin: 0 auto;
    }
}

/* ================= ROOM FACILITIES ================= */

.facilities-section {
    background: #0a0a0a;
    padding: 60px 20px;
}

    .facilities-section h3 {
        font-size: 2rem;
        color: #fff;
        margin-bottom: 40px;
        text-align: center;
    }

.facilities-grid {
    max-width: 1100px; /* 👈 control width */
    margin: 0 auto; /* 👈 center */
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

    .facilities-grid ul {
        list-style: none;
        padding: 30px;
        background: #1a1a1a;
        border-radius: 12px;
        border: 1px solid #2a2a2a;
    }

        .facilities-grid ul li {
            padding: 12px 0 12px 28px;
            border-bottom: 1px solid #2a2a2a;
            position: relative;
            font-size: 1rem;
            color: #ccc;
        }

            .facilities-grid ul li::before {
                content: "✓";
                position: absolute;
                left: 0;
                top: 10px;
                color: #4CAF50;
                font-weight: bold;
            }

            .facilities-grid ul li:last-child {
                border-bottom: none;
            }

@media (max-width: 768px) {

    .facilities-grid {
        grid-template-columns: 1fr;
        max-width: 100%;
    }

        .facilities-grid ul {
            padding: 20px;
        }

    .facilities-section h3 {
        font-size: 1.6rem;
    }
}

/* ================= BATHROOM SECTION ================= */

.bathroom-section {
    padding: 80px 20px;
    background: #0a0a0a;
}

.bathroom-grid {
    max-width: 1200px;
    margin: 0 auto 60px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.bathroom-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

    .bathroom-images img,
    .bathroom-content img.extra-image {
        width: 100%;
        height: 250px;
        object-fit: cover;
        border-radius: 10px;
        box-shadow: 0 5px 15px rgba(0,0,0,0.5);
        border: 1px solid #2a2a2a;
        transition: transform 0.3s, filter 0.3s;
        filter: brightness(0.9);
    }

        .bathroom-images img:hover,
        .bathroom-content img.extra-image:hover {
            transform: scale(1.05);
            filter: brightness(1);
        }

.bathroom-content h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #fff;
    line-height: 1.3;
}

.bathroom-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #bbb;
}

/* ================= MOBILE ================= */
@media (max-width: 768px) {

    .bathroom-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .bathroom-images {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .bathroom-content h2 {
        font-size: 1.6rem;
        text-align: center;
    }

    .bathroom-content p {
        font-size: 1rem;
        text-align: center;
    }

    .bathroom-content img.extra-image {
        margin-top: 20px;
        height: 180px;
    }
}
