body {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
}

h1,
h2,
h3 {
    font-family: 'Poiret One', sans-serif;
    font-weight: 300;

}

h1 {
    font-size: var(--fs-hero-h1) !important;
    font-weight: bold;
}

h2 {
    font-size: var(--fs-section-h2) !important;
}

.hero-mini-refined {
    margin-top: 0;
    height: 60vh;
    background: url('../Resource/Activities/swimmingpool.avif') center/cover fixed;
}

/* ULTRA-PREMIUM UNIFIED LAYOUT - FIXED */
.package-stack-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding: 0 20px;
    max-width: 1500px;
    /* Consistency with Rooms */
    margin: 60px auto;
}

.package-row-premium {
    display: flex;
    align-items: center;
    position: relative;
    width: 100%;
    min-height: 600px;
    background: transparent;
    box-shadow: none;
    border: none;
    overflow: visible;
}

.package-row-premium.reverse-layout {
    flex-direction: row-reverse;
}

.package-visual-side {
    flex: 0 0 50%;
    background-size: cover;
    background-position: center;
    height: 450px;
    /* Reduced for more compact presentation */
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    z-index: 1;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    border-radius: 30px;
}

.package-content-side {
    flex: 0 0 45%;
    background: #ffffff;
    padding: 40px 45px;
    position: relative;
    z-index: 10;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.05);
    border-radius: 30px;
    transition: transform 0.6s ease, box-shadow 0.6s ease;
    min-height: 500px;
    /* Changed from fixed height */
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.package-row-premium:not(.reverse-layout) .package-content-side {
    margin-left: -5%;
}

.package-row-premium.reverse-layout .package-content-side {
    margin-right: -5%;
}

/* Typography (Standardized from Rooms) */
.package-eyebrow {
    font-family: 'Montserrat', sans-serif;
    font-size: var(--fs-section-topper);
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #c9a63c;
    /* Brand Gold */
    margin-bottom: 15px;
    display: block;
    font-weight: 600;
}

.package-title-unique {
    font-family: 'Poiret One', sans-serif;
    font-size: var(--fs-page-h1);
    /* Standardized view */
    color: #2E2318;
    margin-bottom: 20px;
    line-height: 1.1;
    font-weight: 300;
}

/* Feature List */
.package-feature-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
    /* Synchronized gap */
}

.package-feature-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 25px;
    padding: 12px 20px;
    /* Compact padding */
    border-radius: 12px;
    transition: background 0.3s ease;
}

.package-feature-item:hover {
    background: #f9f9f9;
}

/* Icons */
.feature-icon-box {
    font-size: var(--fs-lead-p);
    color: #c9a63c;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    background: rgba(201, 166, 60, 0.1);
    flex-shrink: 0;
    transition: 0.3s ease;
}

.package-feature-item:hover .feature-icon-box {
    transform: scale(1.1) rotate(5deg);
    background: #c9a63c;
    color: #fff;
}

.feature-text {
    display: flex;
    flex-direction: column;
}

.feature-text h4 {
    font-size: var(--fs-body-p);
    font-weight: 600;
    color: #333;
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.feature-text p {
    font-size: var(--fs-body-p);
    color: #777;
    margin: 0;
    line-height: 1.5;
}

/* Brand Action Buttons (Standardized from Rooms) */
.modern-actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.btn-solid-moss {
    padding: 12px 28px;
    background: #2E2318;
    color: #c9a63c;
    text-decoration: none;
    text-transform: uppercase;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    letter-spacing: 2px;
    font-size: var(--fs-btn-text);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border: none;
    cursor: pointer;
}

.btn-solid-moss:hover {
    background: #c9a63c;
    color: #2E2318;
    box-shadow: 0 15px 30px rgba(201, 166, 60, 0.2);
    transform: translateY(-3px);
}

.btn-outline-modern {
    padding: 11px 27px;
    background: transparent;
    border: 1px solid #2E2318;
    color: #2E2318;
    text-decoration: none;
    text-transform: uppercase;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    letter-spacing: 2px;
    font-size: var(--fs-btn-text);
    transition: all 0.4s ease;
    cursor: pointer;
}

.btn-outline-modern:hover {
    background: #2E2318;
    color: #f4f1e9;
}

/* Swiper Fixes */
.swiper-container {
    width: 100%;
    height: 100%;
}

.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.swiper-slide img.fit-contain {
    object-fit: contain;
    background: #fff;
}

.package-visual-side:hover .swiper-slide img {
    transform: scale(1.05);
}

/* Carousel Navigation Buttons - Position Inside */
.swiper-button-next,
.swiper-button-prev {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    color: #2E2318;
    transition: all 0.3s ease;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: rgba(201, 166, 60, 0.95);
    color: #fff;
    transform: scale(1.1);
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 18px;
    font-weight: bold;
}

/* Position buttons more inside the image */
.swiper-button-next {
    right: 20px;
}

.swiper-button-prev {
    left: 20px;
}

/* Activity Modal Styles (RESTORED) */
.activity-modal {
    display: none;
    /* Hidden by default */
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s;
}

.activity-modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    /* Centered */
    padding: 30px;
    border: 1px solid #888;
    width: 90%;
    max-width: 600px;
    border-radius: 15px;
    position: relative;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.activity-close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
}

.activity-close:hover,
.activity-close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.activity-table-container {
    margin-top: 20px;
}

.activity-table {
    width: 100%;
    border-collapse: collapse;
}

.activity-table th,
.activity-table td {
    border: 1px solid #ddd;
    padding: 12px;
    text-align: left;
}

.activity-table th {
    background-color: #f2f2f2;
    color: #333;
    font-weight: 600;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Point Highlighter Styling */
.point-highlighter {
    background: linear-gradient(135deg, rgba(201, 166, 60, 0.1), rgba(201, 166, 60, 0.05));
    border: 1px solid rgba(201, 166, 60, 0.15);
    cursor: pointer;
    justify-content: space-between !important;
}

.point-highlighter:hover {
    background: linear-gradient(135deg, rgba(201, 166, 60, 0.2), rgba(201, 166, 60, 0.1)) !important;
}

/* Tablet Adjustment - Prevent Collapse */
@media (max-width: 1200px) and (min-width: 901px) {

    .package-row-premium,
    .package-row-premium.reverse-layout {
        min-height: 400px;
        height: auto;
    }

    .package-visual-side {
        flex: 0 0 48%;
        height: 400px;
        border-radius: 25px;
    }

    .package-content-side {
        flex: 0 0 48%;
        padding: 30px 35px;
        height: auto;
        min-height: 400px;
        border-radius: 25px;
    }

    .package-title-unique {
        font-size: var(--fs-section-h2);
        margin-bottom: 15px;
    }

    .package-eyebrow {
        font-size: 0.75rem;
        letter-spacing: 2px;
        margin-bottom: 12px;
    }

    .package-feature-grid {
        gap: 10px;
    }

    .package-feature-item {
        padding: 8px 15px;
        gap: 15px;
    }

    .feature-icon-box {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }

    .feature-text h4 {
        font-size: 0.95rem;
    }

    .feature-text p {
        font-size: 0.85rem;
    }

    .modern-actions {
        gap: 12px;
        margin-top: 20px;
    }

    .btn-solid-moss,
    .btn-outline-modern {
        padding: 10px 22px;
        font-size: 0.7rem;
    }
}

/* Mobile Adjustment */
@media (max-width: 900px) {
    .hide-culinary-mobile {
        display: none !important;
    }

    .package-stack-container {
        gap: 20px;
        /* Reduced gap between cards */
        padding: 0;
        margin: 15px 0;
        /* Reduced margin */
        width: 100%;
    }

    .package-row-premium,
    .package-row-premium.reverse-layout {
        flex-direction: column;
        height: auto;
        min-height: auto;
        max-height: none;
        gap: 0;
        border-radius: 0;
        overflow: hidden;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
        /* Lighter shadow */
        margin: 0;
        width: 100%;
    }

    .package-visual-side {
        width: 100%;
        height: auto;
        aspect-ratio: 16/9;
        /* Flatter aspect ratio for smaller height */
        flex: none;
        border-radius: 0;
    }

    .swiper-slide img {
        border-radius: 0;
        /* Ensure images in slider are sharp corners on mobile if container is */
    }

    .package-row-premium:not(.reverse-layout) .package-content-side,
    .package-row-premium.reverse-layout .package-content-side {
        margin: 0 !important;
        /* Reset overlap margins first */
    }

    .package-content-side {
        width: 100%;
        height: auto;
        padding: 20px 15px;
        text-align: center;
        background: white;
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-top: -30px !important;
        /* Overlap the image */
        border-radius: 25px 25px 0 0;
        /* Round top corners */
        position: relative;
        /* Ensure z-index works */
        z-index: 10;
    }

    .package-title-unique {
        font-size: var(--fs-section-h2);
        /* Smaller font */
        text-align: center;
        margin: 5px 0 10px 0;
        line-height: 1.2;
    }

    .package-eyebrow {
        text-align: center;
        padding: 0;
        font-size: var(--fs-section-topper);
        letter-spacing: 2px;
        width: 100%;
    }

    .package-eyebrow::after {
        content: '';
        display: block;
        margin: 8px auto;
        width: 30px;
        height: 2px;
        background: #c9a63c;
        opacity: 0.5;
    }

    .package-description {
        text-align: center;
        font-size: var(--fs-lead-p);
        margin-bottom: 20px;
        padding: 0 5px;
        line-height: 1.6;
        color: #666;
    }

    .package-feature-grid {
        display: flex;
        flex-direction: column;
        gap: 10px;
        /* Reduced gap */
        margin-bottom: 25px;
        width: 100%;
    }

    .package-feature-item {
        padding: 10px 15px;
        /* Compact item */
        text-align: left;
        background: rgba(201, 166, 60, 0.05);
        border-radius: 10px;
        display: flex;
        align-items: center;
        gap: 12px;
        border: 1px solid rgba(201, 166, 60, 0.1);
    }

    .package-feature-item:hover {
        transform: none;
    }

    .feature-icon-box {
        width: 35px;
        /* Smaller icon box */
        height: 35px;
        font-size: 1rem;
        flex-shrink: 0;
    }

    .feature-text {
        flex: 1;
    }

    .feature-text h4 {
        font-size: var(--fs-body-p);
        /* Smaller text */
        margin-bottom: 2px;
    }

    .feature-text p {
        font-size: var(--fs-btn-text);
        line-height: 1.3;
    }

    .modern-actions {
        flex-direction: column;
        gap: 10px;
        width: 100%;
        margin-top: 5px;
    }

    .modern-actions button {
        width: 100%;
        padding: 14px 20px;
        /* Smaller button */
        font-size: var(--fs-btn-text);
        letter-spacing: 1.5px;
        border-radius: 25px;
    }

    /* Swiper navigation buttons - smaller on mobile */
    .swiper-button-next,
    .swiper-button-prev {
        width: 30px;
        height: 30px;
        background: rgba(255, 255, 255, 0.8);
        border-radius: 50%;
    }

    .swiper-button-next::after,
    .swiper-button-prev::after {
        font-size: 14px;
        font-weight: bold;
    }

    /* Theme-specific mobile adjustments */
    .theme-foody .package-content-side,
    .theme-carnival .package-content-side,
    .theme-extravagant .package-content-side {
        background: white;
    }

    /* Point highlighter mobile */
    .point-highlighter {
        background: linear-gradient(135deg, rgba(201, 166, 60, 0.15), rgba(201, 166, 60, 0.08));
        border: 1px solid rgba(201, 166, 60, 0.2);
    }

    /* Tailored Packages Mobile */
    .service-card-flat {
        min-height: 280px;
        /* Even more compact */
        height: auto;
        padding: 25px 15px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 12px;
    }

    .service-card-flat i {
        font-size: 2.2rem !important;
        margin-bottom: 5px !important;
    }

    .service-card-flat h3 {
        font-size: var(--fs-h3-card);
        margin: 8px 0;
    }

    .service-card-flat p {
        font-size: var(--fs-body-p);
        line-height: 1.5;
        padding: 0 5px;
        margin-bottom: 15px;
    }

    .card-tag {
        top: 15px;
        right: 15px;
        font-size: 0.65rem;
        padding: 4px 12px;
    }
}