﻿/* ========== GLOBAL RESET ========== */
* {
    box-sizing: border-box;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ========== HERO SECTION ========== */
.hero-section {
    position: relative;
    min-height: 70vh;
    background-image: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url("https://sunrisedreamworldresort.com/Content/banner.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-content {
    width: 100%;
    max-width: 1200px;
    padding: 0 20px;
    margin: auto;
    color: #fff;
}

    .hero-content h1 {
        font-size: 3rem;
        font-weight: 700;
        margin-bottom: 15px;
        text-shadow: 2px 2px 6px rgba(0,0,0,.6);
    }

    .hero-content p {
        font-size: 1.15rem;
        max-width: 650px;
        line-height: 1.8;
        color: #f2f2f2;
    }

/* ========== COMMON UTILITIES ========== */
.radius-20 {
    border-radius: 20px;
}

.radius-top-20 {
    border-radius: 20px 20px 0 0;
}

.p-color {
    color: #555;
}

.color-h {
    color: #c89b3c;
}

.sub-title-line {
    width: 60px;
    height: 3px;
    background: #c89b3c;
    margin: 10px auto;
}

/* ========== PACKAGE CONTENT ========== */
ul.list-unstyled li {
    margin-bottom: 8px;
    font-size: 0.95rem;
}

table {
    background: rgba(0,0,0,0.6);
}

    table th,
    table td {
        vertical-align: middle;
    }

/* ========== CARD STYLE ========== */
.shadow {
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 2.4rem;
    }
}

@media (max-width: 768px) {
    .hero-section {
        min-height: 55vh;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
        margin: auto;
    }

    .float-left,
    .float-right {
        float: none !important;
    }

    .text-center h4 {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .hero-section {
        min-height: 50vh;
    }

    .hero-content h1 {
        font-size: 1.7rem;
    }

    .hero-content p {
        font-size: 0.95rem;
    }

    ul.list-unstyled li {
        font-size: 0.9rem;
    }
}


..packages-section {
    color: #fff;
}

/* ===== Desktop Layout ===== */
.package-card {
    display: flex;
    gap: 30px;
    align-items: center;
    margin-bottom: 40px;
}

    .package-card.reverse {
        flex-direction: row-reverse;
    }

.package-img,
.package-content {
    flex: 1;
}

    .package-img img {
        width: 100%;
        border-radius: 20px;
        box-shadow: 0 6px 15px rgba(0,0,0,0.3);
        object-fit: cover;
    }

    .package-content h2 {
        font-size: 1.8rem;
        color: #ffd700;
        margin-bottom: 15px;
    }

    .package-content h5 {
        margin-top: 15px;
        color: #fff;
    }

    .package-content ul {
        list-style: none;
        padding: 0;
        margin: 0 0 10px 0;
    }

        .package-content ul li::before {
            content: "\f0da";
            font-family: FontAwesome;
            margin-right: 10px;
            color: #ffd700;
        }

    .package-content p {
        color: #ddd;
        line-height: 1.6;
    }

/* ===== MOBILE VIEW (IMPORTANT) ===== */
@media (max-width: 768px) {

    .package-card,
    .package-card.reverse {
        flex-direction: column;
        background: rgba(255,255,255,0.05);
        padding: 18px;
        border-radius: 20px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.25);
    }

    /* Text first */
    .package-content {
        order: 1;
    }

    /* Image below text */
    .package-img {
        order: 2;
        margin-top: 15px;
    }

        .package-img img {
            border-radius: 15px;
        }

    .package-content h2 {
        font-size: 1.4rem;
        text-align: center;
    }

    .package-content h5 {
        font-size: 1rem;
    }

    .package-content ul li,
    .package-content p {
        font-size: 0.95rem;
    }
}

/* ===== TABLE CARD ===== */
.table-card {
    margin-bottom: 60px;
}

.price-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border: 1px solid #555;
    border-radius: 15px;
    overflow: hidden;
}

    .price-row div {
        padding: 18px;
        text-align: center;
        background: rgba(255,255,255,0.04);
        border-right: 1px solid #555;
        font-weight: 600;
    }

        .price-row div:last-child {
            border-right: none;
        }

    .price-row span {
        display: block;
        font-size: 0.85rem;
        color: #ccc;
        margin-top: 6px;
    }

.benefit-table {
    border: 1px solid #555;
    border-radius: 15px;
    overflow: hidden;
}

.benefit-header,
.benefit-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

    .benefit-header div {
        padding: 14px;
        background: rgba(255,255,255,0.08);
        text-align: center;
        font-weight: 600;
        border-right: 1px solid #555;
    }

        .benefit-header div:last-child {
            border-right: none;
        }

    .benefit-row div {
        padding: 14px;
        text-align: center;
        border-top: 1px solid #555;
        border-right: 1px solid #555;
        background: rgba(255,255,255,0.03);
    }

        .benefit-row div:last-child {
            border-right: none;
        }

/* ===== MOBILE VIEW ===== */
@media (max-width: 768px) {

    .price-row {
        grid-template-columns: 1fr;
    }

        .price-row div {
            border-right: none;
            border-bottom: 1px solid #555;
        }

            .price-row div:last-child {
                border-bottom: none;
            }

    .benefit-header {
        display: none;
    }

    .benefit-row {
        grid-template-columns: 1fr;
        padding: 10px;
    }

        .benefit-row div {
            border: none;
            text-align: left;
            padding: 8px 0;
        }

            .benefit-row div::before {
                content: attr(data-title);
                display: block;
                font-size: 0.8rem;
                color: #ffd700;
                margin-bottom: 4px;
            }
}

