﻿/* =========================================================
   RAMADAN UMRAH PACKAGES
========================================================= */

.ramadan-packages-section {
    width: 100%;
    padding: 70px 0;
    background: #f8faf9;
    overflow: hidden;
    margin-top: -63px;
}


/* =========================================================
   SECTION HEADING
========================================================= */

.ramadan-section-heading {
    width: min(1400px, 94%);
    margin: 0 auto 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
}

.heading-line {
    height: 2px;
    flex: 1;
    max-width: 220px;
    background: linear-gradient( 90deg, transparent, #c7a45b );
}

    .heading-line:last-child {
        background: linear-gradient( 90deg, #c7a45b, transparent );
    }

.heading-content {
    text-align: center;
}

    .heading-content small {
        display: block;
        color: #b18b3e;
        font-size: 12px;
        font-weight: 700;
        letter-spacing: 3px;
        margin-bottom: 7px;
    }

    .heading-content h2 {
        margin: 0;
        color: #153b35;
        font-size: clamp(24px, 3vw, 38px);
        font-weight: 800;
        letter-spacing: .5px;
    }

    .heading-content p {
        margin: 8px 0 0;
        color: #777;
        font-size: 14px;
    }


/* =========================================================
   CAROUSEL WRAPPER
========================================================= */

.ramadan-carousel-wrapper {
    width: min(1500px, 96%);
    margin: auto;
    position: relative;
    padding: 0 35px;
}

.ramadan-carousel-viewport {
    width: 100%;
    overflow: hidden;
    border-radius: 20px;
}

.ramadan-carousel-track {
    display: flex;
    gap: 20px;
    will-change: transform;
    transition: transform .65s cubic-bezier(.22, .61, .36, 1);
}


/* =========================================================
   CARD
========================================================= */

.ramadan-package-card {
    flex: 0 0 calc( (100% - 60px) / 4 );
    min-width: 0;
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border: 1px solid #e7e9e8;
    border-radius: 18px;
    padding: 18px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, .06);
    transition: transform .3s ease, box-shadow .3s ease;
    box-sizing: border-box;
}

    .ramadan-package-card:hover {
        transform: translateY(-7px);
        box-shadow: 0 18px 40px rgba(0, 0, 0, .12);
    }


/* =========================================================
   DATE BADGE
========================================================= */

.ramadan-date-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    width: fit-content;
    padding: 7px 12px;
    background: #edf7f1;
    color: #22664d;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 15px;
}

    .ramadan-date-badge span {
        color: #c29b4f;
    }

    .ramadan-date-badge.full-ramadan {
        background: #fff6df;
        color: #8b6725;
    }


/* =========================================================
   TITLE + IMAGE
========================================================= */

.ramadan-title-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    min-height: 70px;
}

.ramadan-title {
    flex: 1;
    color: #163c35;
    font-size: 17px;
    line-height: 1.35;
    font-weight: 800;
}

.ramadan-package-image {
    width: 78px;
    height: 78px;
    flex: 0 0 78px;
    object-fit: cover;
    border-radius: 13px;
    border: 3px solid #f3ead7;
    background: #eee;
}


/* =========================================================
   DURATION
========================================================= */

.ramadan-duration {
    margin-top: 10px;
    color: #9a7839;
    font-size: 13px;
    font-weight: 700;
}

    .ramadan-duration span {
        color: #666;
    }


/* =========================================================
   DIVIDER
========================================================= */

.ramadan-divider {
    height: 1px;
    width: 100%;
    background: #ececec;
    margin: 16px 0;
}


/* =========================================================
   HOTELS
========================================================= */

.ramadan-hotels {
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-height: 125px;
}

.hotel-block {
    min-width: 0;
}

.hotel-heading {
    color: #a27b36;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .4px;
    margin-bottom: 5px;
}

.hotel-name {
    color: #4c5552;
    font-size: 12px;
    line-height: 1.45;
    font-weight: 600;
}

    .hotel-name small {
        display: inline;
        color: #888;
        font-size: 11px;
    }


/* =========================================================
   DEPARTURE
========================================================= */

.ramadan-departure {
    min-height: 105px;
}

.departure-heading {
    color: #153f36;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .5px;
    margin-bottom: 10px;
}

.departure-dates {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.available-date {
    display: flex;
    align-items: center;
    gap: 7px;
    color: #606866;
    font-size: 11px;
    line-height: 1.4;
}

    .available-date span {
        flex-shrink: 0;
        padding: 3px 6px;
        border-radius: 4px;
        background: #e7f6ed;
        color: #27804f;
        font-size: 8px;
        font-weight: 800;
    }


/* =========================================================
   CARD FOOTER
========================================================= */

.ramadan-card-footer {
    margin-top: auto;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
}


/* =========================================================
   PRICE
========================================================= */

.ramadan-price-section {
    min-width: 0;
}

.starting-from {
    color: #999;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 3px;
}

.ramadan-price {
    color: #153e35;
    font-size: 21px;
    font-weight: 900;
    white-space: nowrap;
}

.per-person {
    color: #999;
    font-size: 9px;
    margin-top: 2px;
}


/* =========================================================
   BUTTONS
========================================================= */

.ramadan-button-section {
    display: flex;
    flex-direction: column;
    gap: 7px;
    width: 120px;
    flex-shrink: 0;
}

.ramadan-view-btn,
.ramadan-book-btn {
    width: 100%;
    min-height: 36px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 800;
    cursor: pointer;
    transition: background .25s ease, color .25s ease, transform .25s ease, border-color .25s ease;
}

.ramadan-view-btn {
    background: #ffffff;
    border: 1px solid #c7a45b;
    color: #9b7735;
}

    .ramadan-view-btn:hover {
        background: #c7a45b;
        color: #ffffff;
        transform: translateY(-1px);
    }

.ramadan-book-btn {
    background: #153f36;
    border: 1px solid #153f36;
    color: #ffffff;
}

    .ramadan-book-btn:hover {
        background: #0d2c26;
        transform: translateY(-1px);
    }


/* =========================================================
   ARROWS
========================================================= */

.ramadan-carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: #ffffff;
    color: #153f36;
    box-shadow: 0 5px 20px rgba(0, 0, 0, .15);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 21px;
    transition: background .25s ease, color .25s ease, transform .25s ease;
}

    .ramadan-carousel-arrow:hover {
        background: #153f36;
        color: #ffffff;
        transform: translateY(-50%) scale(1.08);
    }

.ramadan-arrow-left {
    left: 0;
}

.ramadan-arrow-right {
    right: 0;
}


/* =========================================================
   DOTS
========================================================= */

.ramadan-carousel-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    margin-top: 25px;
}

.ramadan-carousel-dot {
    width: 8px;
    height: 8px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: #d6d6d6;
    cursor: pointer;
    transition: width .25s ease, background .25s ease;
}

    .ramadan-carousel-dot.active {
        width: 24px;
        border-radius: 10px;
        background: #c7a45b;
    }


/* =========================================================
   LARGE TABLET
========================================================= */

@media (max-width: 1200px) {

    .ramadan-package-card {
        flex-basis: calc( (100% - 40px) / 3 );
    }
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

    .ramadan-packages-section {
        padding: 55px 0;
    }

    .ramadan-carousel-wrapper {
        width: 94%;
        padding: 0 30px;
    }

    .ramadan-package-card {
        flex-basis: calc( (100% - 20px) / 2 );
    }

    .ramadan-carousel-arrow {
        width: 40px;
        height: 40px;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    .ramadan-packages-section {
        padding: 45px 0;
    }

    .ramadan-section-heading {
        width: 90%;
        gap: 12px;
        margin-bottom: 28px;
    }

    .heading-line {
        max-width: 60px;
    }

    .heading-content small {
        font-size: 9px;
        letter-spacing: 2px;
    }

    .heading-content h2 {
        font-size: 22px;
    }

    .heading-content p {
        font-size: 12px;
    }

    .ramadan-carousel-wrapper {
        width: 100%;
        padding: 0 22px;
    }

    .ramadan-carousel-viewport {
        border-radius: 16px;
    }

    .ramadan-carousel-track {
        gap: 12px;
    }

    .ramadan-package-card {
        flex-basis: 100%;
        padding: 16px;
        border-radius: 16px;
    }

    .ramadan-carousel-arrow {
        width: 36px;
        height: 36px;
        font-size: 17px;
    }

    .ramadan-arrow-left {
        left: 2px;
    }

    .ramadan-arrow-right {
        right: 2px;
    }

    .ramadan-title {
        font-size: 16px;
    }

    .ramadan-package-image {
        width: 70px;
        height: 70px;
        flex-basis: 70px;
    }

    .ramadan-card-footer {
        align-items: stretch;
        flex-direction: column;
    }

    .ramadan-button-section {
        width: 100%;
        flex-direction: row;
    }

    .ramadan-view-btn,
    .ramadan-book-btn {
        flex: 1;
    }
}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 380px) {

    .ramadan-title-row {
        flex-direction: column-reverse;
    }

    .ramadan-package-image {
        width: 100%;
        height: 145px;
        flex-basis: auto;
    }

    .ramadan-title {
        font-size: 17px;
    }

    .ramadan-button-section {
        flex-direction: column;
    }
}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    .ramadan-carousel-track {
        transition: none;
    }

    .ramadan-package-card,
    .ramadan-carousel-arrow,
    .ramadan-view-btn,
    .ramadan-book-btn {
        transition: none;
    }
}
