/* ==========================================================================
   Mother & Baby - Redesigned Horizontal Package Cards (Curved Edges & Pill Buttons)
   ========================================================================== */

/* Clearfix utility */
.packages-stacked-container::before,
.packages-stacked-container::after {
    content: " ";
    display: table;
}
.packages-stacked-container::after {
    clear: both;
}

/* Container for stacked horizontal cards */
.packages-stacked-container {
    max-width: 1100px;
    margin: 0 auto;
    width: 100% !important;
    clear: both !important;
    display: block !important;
}

/* Horizontal Package Card - Elegant Curved Edges */
.pkg-horizontal-card {
    background-color: var(--color-white, #ffffff) !important;
    border: 1px solid rgba(0, 0, 0, 0.06) !important;
    border-radius: 18px !important; /* Smooth curved card edges */
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.04) !important;
    overflow: hidden !important;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1) !important;
    margin-bottom: 35px !important;
    display: flex !important;
    flex-direction: row !important;
    position: relative;
    min-height: 340px;
    width: 100% !important;
    clear: both !important;
    float: none !important;
}

.pkg-horizontal-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 45px rgba(44, 94, 59, 0.14) !important;
    border-color: rgba(0, 0, 0, 0.07) !important;
}

/* Left Image Container - Curved left corners */
.pkg-card-media {
    flex: 0 0 38% !important;
    max-width: 38% !important;
    width: 38% !important;
    position: relative !important;
    overflow: hidden !important;
    background-color: #f7f9f6;
    min-height: 320px;
    border-radius: 18px 0 0 18px !important;
}

.pkg-card-media img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.pkg-horizontal-card:hover .pkg-card-media img {
    transform: scale(1.06) !important;
}

/* Gradient overlay on left image */
.pkg-card-media::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(44, 94, 59, 0.15), transparent 70%);
    pointer-events: none;
}

/* Badge on Image - Pill shape */
.pkg-media-badge {
    position: absolute;
    top: 18px;
    left: 18px;
    z-index: 3;
    background-color: var(--color-primary-dark, #2C5E3B);
    color: #ffffff;
    font-family: 'Work Sans', sans-serif;
    font-size: 11px;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 30px !important; /* Curved pill badge */
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
}

/* Right Content Section */
.pkg-card-content {
    flex: 1 1 62% !important;
    max-width: 62% !important;
    width: 62% !important;
    padding: 32px 38px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    text-align: left !important;
}

/* Card Header: Title + Badge */
.pkg-card-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    margin-bottom: 18px !important;
    padding-bottom: 16px !important;
    border-bottom: 1px dashed rgba(0, 0, 0, 0.08) !important;
    flex-wrap: wrap;
    gap: 10px;
}

.pkg-card-title {
    font-family: 'Philosopher', serif !important;
    font-size: 25px !important;
    font-weight: 700 !important;
    color: var(--color-primary-dark, #2C5E3B) !important;
    margin: 0 !important;
    letter-spacing: 0.3px;
    line-height: 1.25;
}

/* Duration Badge - Pill shape */
.pkg-card-badge {
    font-family: 'Work Sans', sans-serif !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    color: var(--color-primary, #3d7a4f) !important;
    background-color: rgba(61, 122, 79, 0.08) !important;
    border: 1px solid rgba(61, 122, 79, 0.18) !important;
    padding: 5px 18px !important;
    border-radius: 30px !important; /* Curved pill badge */
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

/* Card Body: Highlights & Inclusions */
.pkg-card-body {
    flex-grow: 1;
    margin-bottom: 22px;
}

.inclusions-label {
    font-family: 'Work Sans', sans-serif !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    color: #718096 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.8px !important;
    margin-bottom: 14px !important;
}

/* 2-Column Grid for Inclusions */
.pkg-inclusions-grid {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px 24px !important;
}

.pkg-inclusions-grid li {
    font-family: 'Work Sans', sans-serif !important;
    font-size: 14px !important;
    line-height: 1.45 !important;
    color: var(--color-text-dark, #2D3748) !important;
    padding-left: 28px !important;
    position: relative !important;
}

.pkg-inclusions-grid li::before {
    content: '\f00c';
    font-family: 'FontAwesome';
    font-size: 10px;
    color: var(--color-primary, #3d7a4f);
    position: absolute;
    left: 0;
    top: 2px;
    width: 20px;
    height: 20px;
    background: rgba(61, 122, 79, 0.09);
    border-radius: 50% !important; /* Rounded checkmark chip */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Complimentary Box Styling */
.complimentary-box {
    margin-top: 18px !important;
    padding: 14px 18px !important;
    background: linear-gradient(135deg, rgba(203, 178, 106, 0.08) 0%, rgba(61, 122, 79, 0.05) 100%) !important;
    border: 1px dashed rgba(203, 178, 106, 0.4) !important;
    border-radius: 12px !important;
}

.complimentary-label {
    font-family: 'Work Sans', sans-serif !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    color: #2C5E3B !important;
    text-transform: uppercase !important;
    letter-spacing: 0.8px !important;
    margin-bottom: 10px !important;
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
}

.complimentary-label i {
    color: #CBB26A !important;
    font-size: 13px !important;
}

.pkg-complimentary-grid {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px 24px !important;
}

.pkg-complimentary-grid li {
    font-family: 'Work Sans', sans-serif !important;
    font-size: 13px !important;
    line-height: 1.4 !important;
    color: #2D3748 !important;
    padding-left: 24px !important;
    position: relative !important;
    font-weight: 500 !important;
}

.pkg-complimentary-grid li::before {
    content: '\f06b'; /* Gift icon in FontAwesome */
    font-family: 'FontAwesome' !important;
    font-size: 9px !important;
    color: #CBB26A !important;
    position: absolute !important;
    left: 0 !important;
    top: 2px !important;
    width: 18px !important;
    height: 18px !important;
    background: rgba(203, 178, 106, 0.18) !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Card Footer: CTA Action */
.pkg-card-footer {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    padding-top: 14px !important;
    border-top: 1px solid rgba(0, 0, 0, 0.04) !important;
}

/* Pill Curved Button - Matches site pill buttons */
.pkg-book-btn {
    font-family: 'Work Sans', sans-serif !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    background-color: var(--color-primary, #3d7a4f) !important;
    border: none !important;
    border-radius: 50px !important; /* Fully curved pill button */
    padding: 12px 30px !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 14px rgba(61, 122, 79, 0.25) !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
}

.pkg-book-btn:hover {
    background-color: var(--color-primary-dark, #2C5E3B) !important;
    box-shadow: 0 6px 22px rgba(44, 94, 59, 0.35) !important;
    color: #ffffff !important;
    transform: translateY(-2px) !important;
}

/* Responsive Layout */
@media (max-width: 991px) {
    .pkg-horizontal-card {
        flex-direction: column !important;
        min-height: auto;
        border-radius: 18px !important;
    }

    .pkg-card-media {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        width: 100% !important;
        height: 240px !important;
        min-height: 240px !important;
        border-radius: 18px 18px 0 0 !important;
    }

    .pkg-card-content {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        width: 100% !important;
        padding: 26px 24px !important;
    }

    .pkg-card-title {
        font-size: 22px !important;
    }
}

@media (max-width: 600px) {
    .pkg-inclusions-grid,
    .pkg-complimentary-grid {
        grid-template-columns: 1fr !important;
        gap: 8px !important;
    }

    .pkg-card-header {
        flex-direction: column;
        align-items: flex-start !important;
    }

    .pkg-card-footer {
        justify-content: stretch !important;
    }

    .pkg-book-btn {
        width: 100% !important;
        justify-content: center !important;
    }
}


/* ==========================================================================
   Treatments Banner Section (seamless, no separation borders)
   ========================================================================== */

.treatments-banner-section {
    position: relative;
    overflow: hidden;
    padding: 0;
    margin: 0;
    border: none !important;
    clear: both !important;
}

.treatments-banner-inner {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 380px;
    overflow: hidden;
}

.treatments-banner-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.treatments-banner-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Dark overlay for readability */
.treatments-banner-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(27, 54, 35, 0.88) 0%,
        rgba(44, 94, 59, 0.75) 50%,
        rgba(27, 54, 35, 0.85) 100%
    );
    z-index: 1;
}

.treatments-banner-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    padding: 70px 30px;
}

.treatments-banner-content .banner-leaf-icon {
    display: inline-block;
    margin-bottom: 18px;
    font-size: 32px;
    color: var(--color-accent, #CBB26A);
    opacity: 0.9;
}

.treatments-banner-content h2 {
    font-family: 'Philosopher', serif;
    font-size: 34px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 10px 0;
    letter-spacing: 0.5px;
    line-height: 1.25;
}

.treatments-banner-content .banner-subtitle {
    font-family: 'Bilbo Swash Caps', cursive;
    font-size: 22px;
    color: var(--color-accent, #CBB26A);
    margin: 0 0 16px 0;
    letter-spacing: 1px;
}

.treatments-banner-content p {
    font-family: 'Work Sans', sans-serif;
    font-size: 15px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
    margin: 0 0 30px 0;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

/* Treatments Banner CTA Pill Button */
.treatments-banner-btn {
    display: inline-block;
    font-family: 'Work Sans', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: var(--color-primary-dark, #2C5E3B);
    background-color: #ffffff;
    border: none;
    border-radius: 50px !important; /* Pill shape */
    padding: 13px 36px;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.12);
    position: relative;
    overflow: hidden;
}

.treatments-banner-btn:hover {
    background-color: var(--color-accent, #CBB26A);
    color: #ffffff;
    box-shadow: 0 8px 28px rgba(203, 178, 106, 0.35);
    transform: translateY(-2px);
}

.treatments-banner-btn:active {
    transform: translateY(0);
}

/* Subtle floating particles */
.treatments-banner-deco {
    position: absolute;
    border-radius: 50%;
    background: rgba(203, 178, 106, 0.08);
    z-index: 1;
    pointer-events: none;
}

.treatments-banner-deco.deco-1 {
    width: 200px;
    height: 200px;
    top: -60px;
    right: -40px;
    animation: bannerFloat 8s ease-in-out infinite;
}

.treatments-banner-deco.deco-2 {
    width: 140px;
    height: 140px;
    bottom: -30px;
    left: -30px;
    animation: bannerFloat 10s ease-in-out infinite reverse;
}

.treatments-banner-deco.deco-3 {
    width: 80px;
    height: 80px;
    top: 40%;
    left: 12%;
    animation: bannerFloat 6s ease-in-out infinite 1s;
}

@keyframes bannerFloat {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-15px) scale(1.05); }
}

@media (max-width: 767px) {
    .treatments-banner-inner {
        min-height: 300px;
    }

    .treatments-banner-content {
        padding: 50px 20px;
    }

    .treatments-banner-content h2 {
        font-size: 24px;
    }

    .treatments-banner-content .banner-subtitle {
        font-size: 18px;
    }

    .treatments-banner-content p {
        font-size: 14px;
    }

    .treatments-banner-btn {
        padding: 11px 28px;
        font-size: 13px;
    }
}

/* ==========================================================================
   Covered Places 4-Card Section (Tour Detail Pages)
   ========================================================================== */
.covered-places-section {
    margin-top: 30px;
    margin-bottom: 40px;
}

.covered-places-header {
    text-align: center;
    margin-bottom: 25px;
}

.covered-places-tag {
    font-family: 'Work Sans', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #c9a84c;
    text-transform: uppercase;
    display: block;
    margin-bottom: 6px;
}

.covered-places-title {
    font-family: 'Philosopher', serif;
    font-size: 26px;
    color: #2c5e3b;
    margin: 0 0 8px 0;
    font-weight: 700;
}

.covered-places-sub {
    font-family: 'Work Sans', sans-serif;
    font-size: 14px;
    color: #666;
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.6;
}

.covered-place-card {
    background: #ffffff;
    border: 1px solid #e8e4dc;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: all 0.35s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.covered-place-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 30px rgba(0,0,0,0.12);
    border-color: #3d7a4f;
}

.covered-place-img {
    position: relative;
    width: 100%;
    height: 175px;
    overflow: hidden;
    background: #f0f0f0;
}

.covered-place-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.covered-place-card:hover .covered-place-img img {
    transform: scale(1.08);
}

.covered-place-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(44, 94, 59, 0.9);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    color: #ffffff;
    font-family: 'Work Sans', sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 50px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.covered-place-body {
    padding: 18px 16px 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    background: #ffffff;
}

.covered-place-name {
    font-family: 'Philosopher', serif;
    font-size: 17px;
    font-weight: 700;
    color: #2c5e3b;
    margin: 0 0 10px 0;
    line-height: 1.3;
}

.covered-place-history {
    font-family: 'Work Sans', sans-serif;
    font-size: 13px;
    color: #555555;
    line-height: 1.6;
    margin: 0;
}

/* ==========================================================================
   Curved Edges for Main Hero Image Card (Tour Package Detail Pages)
   ========================================================================== */
.pkg-hero-card {
    border-radius: 20px !important;
    overflow: hidden !important;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.12) !important;
}

.pkg-hero {
    border-radius: 20px !important;
    overflow: hidden !important;
}

.pkg-hero img {
    border-radius: 20px !important;
}

