/* ============================================================
   Offers Section Styles — Enhanced Luxury Edition
   ============================================================ */

/* ── Section wrapper ───────────────────────────────────────── */
.offers-section {
    background: linear-gradient(160deg, #ffffff 0%, #fdf8f0 60%, #fef3e2 100%);
    border-radius: 16px;
    padding: 2rem;
    height: 100%;
    border: 1px solid rgba(245, 166, 35, 0.15);
    box-shadow:
            0 4px 24px rgba(0, 0, 0, 0.06),
            inset 0 1px 0 rgba(255, 255, 255, 0.9);
    position: relative;
    overflow: hidden;
}

.offers-section::before {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(245, 166, 35, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

/* ── Section Label ─────────────────────────────────────────── */
.section-label {
    display: flex;
    align-items: center;
    border-bottom: none;
    padding-bottom: 0.75rem;
    position: relative;
}

.section-label::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, rgba(245,166,35,0.6) 0%, rgba(245,166,35,0.1) 60%, transparent 100%);
}

.section-label h4 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: #2c2c2c;
}

.current-offers-label .badge {
    background: linear-gradient(135deg, #F5A623, #e8920a) !important;
    color: #fff !important;
    font-size: 0.75rem;
    padding: 0.45rem 0.85rem;
    border-radius: 20px;
    box-shadow: 0 2px 8px rgba(245, 166, 35, 0.4);
    letter-spacing: 0.5px;
}

.expired-offers-label .badge {
    background: linear-gradient(135deg, #8a9199, #6c757d) !important;
    color: #fff !important;
    font-size: 0.75rem;
    padding: 0.45rem 0.85rem;
    border-radius: 20px;
    letter-spacing: 0.5px;
}

/* ── Swiper wrapper ────────────────────────────────────────── */
.current-offers-swiper,
.expired-offers-swiper {
    padding-bottom: 3rem !important;
}

/* ── Offer Card ────────────────────────────────────────────── */
.offer-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow:
            0 2px 12px rgba(0, 0, 0, 0.08),
            0 0 0 1px rgba(0, 0, 0, 0.04);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    box-shadow 0.4s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

.offer-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 12px;
    border: 1.5px solid rgba(245, 166, 35, 0.55);
    pointer-events: none;
    transition: opacity 0.3s ease;
    opacity: 0;
    z-index: 2;
}

.offer-card:hover {
    transform: translateY(-6px);
    box-shadow:
            0 16px 40px rgba(0, 0, 0, 0.12),
            0 0 0 1px rgba(245, 166, 35, 0.15);
}

.offer-card:hover::after {
    opacity: 1;
}

.offer-card.expired {
    opacity: 0.72;
    filter: grayscale(20%);
}

.offer-card.expired::after {
    display: none;
}

/* ── Offer Image ───────────────────────────────────────────── */
.offer-image {
    position: relative;
    height: 100%;
    overflow: hidden;
}

.offer-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 55%;
    background: linear-gradient(to top, rgba(20, 15, 5, 0.55) 0%, transparent 100%);
    pointer-events: none;
}

.offer-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: block;
}

.offer-card:hover .offer-image img {
    transform: scale(1.07);
}

/* ── Offer Badge ───────────────────────────────────────────── */
.offer-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: linear-gradient(135deg, #F5A623, #e8920a);
    color: #fff;
    padding: 0.3rem 0.85rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    box-shadow: 0 2px 10px rgba(245, 166, 35, 0.5);
    z-index: 2;
    backdrop-filter: blur(4px);
}

.offer-badge.expired-badge {
    background: linear-gradient(135deg, #8a9199, #6c757d);
    box-shadow: 0 2px 8px rgba(108, 117, 125, 0.4);
}

/* ── Offer Content ─────────────────────────────────────────── */
.offer-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: #fff;
    position: relative;
}

.offer-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 1rem;
    right: 1rem;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(245,166,35,0.25), transparent);
}

.offer-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: #2c2c2c;
    margin-bottom: 0.5rem;
}

.offer-description {
    font-family: 'Jost', sans-serif;
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
    flex: 1;
}

/* ── Validity Tag ──────────────────────────────────────────── */
.offer-validity {
    display: inline-flex;
    align-items: center;
    font-size: 0.8rem;
    color: #c07f10;
    font-weight: 500;
    margin: 0.85rem 0 0;
    background: rgba(245, 166, 35, 0.1);
    padding: 0.3rem 0.75rem;
    border-radius: 20px;
    width: fit-content;
    border: 1px solid rgba(245, 166, 35, 0.2);
}

.offer-validity.expired-text {
    color: #6c757d;
    background: rgba(108, 117, 125, 0.08);
    border-color: rgba(108, 117, 125, 0.2);
}

/* ── Book Now Button (current offers) ─────────────────────── */
.offer-content .btn-outline-primary {
    border: 1.5px solid #F5A623;
    color: #c07f10;
    border-radius: 6px;
    font-family: 'Jost', sans-serif;
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease, transform 0.2s ease;
    position: relative;
    overflow: hidden;
}

.offer-content .btn-outline-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #F5A623, #e8920a);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.offer-content .btn-outline-primary:hover {
    color: #fff;
    border-color: transparent;
    box-shadow: 0 4px 16px rgba(245, 166, 35, 0.4);
    transform: translateY(-1px);
}

.offer-content .btn-outline-primary:hover::before {
    opacity: 1;
}

.offer-content .btn-outline-primary span,
.offer-content .btn-outline-primary {
    position: relative;
    z-index: 1;
}

/* ── Expired Button ────────────────────────────────────────── */
.offer-content .btn-outline-secondary.disabled {
    border-color: #dee2e6;
    color: #adb5bd;
    background: #f8f9fa;
    font-family: 'Jost', sans-serif;
    font-size: 0.875rem;
    border-radius: 6px;
    cursor: not-allowed;
    opacity: 0.65;
}

/* ── Swiper Navigation ─────────────────────────────────────── */
.swiper-button-next,
.swiper-button-prev {
    color: #F5A623;
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(245,166,35,0.15);
    transition: background 0.3s ease, box-shadow 0.3s ease, transform 0.2s ease;
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 0.875rem;
    font-weight: bold;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: linear-gradient(135deg, #F5A623, #e8920a);
    box-shadow: 0 4px 16px rgba(245, 166, 35, 0.45);
    transform: scale(1.08);
}

.swiper-button-next:hover:after,
.swiper-button-prev:hover:after {
    color: #fff;
}

.swiper-pagination-bullet {
    background: #ddd;
    opacity: 1;
    transition: background 0.3s ease, transform 0.3s ease;
}

.swiper-pagination-bullet:hover {
    transform: scale(1.3);
}

.swiper-pagination-bullet-active {
    background: linear-gradient(135deg, #F5A623, #e8920a);
    transform: scale(1.2);
    box-shadow: 0 0 6px rgba(245, 166, 35, 0.5);
}

/* ── Main Section Header ───────────────────────────────────── */
.py-5.my-5 .text-center p.text-muted {
    color: #a07830 !important;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-size: 0.8rem;
    font-weight: 500;
    position: relative;
    display: inline-block;
}

.py-5.my-5 .text-center p.text-muted::before,
.py-5.my-5 .text-center p.text-muted::after {
    content: '—';
    margin: 0 0.5rem;
    opacity: 0.5;
}

/* ── Breadcrumb Banner ─────────────────────────────────────── */
.room-breadcrumb-banner {
    padding: 5rem 0;
    background:
            linear-gradient(rgba(0,0,0,0.45), rgba(0,0,0,0.45)),
            url('https://images.unsplash.com/photo-1582719508461-905c673771fd?w=1200&h=400&fit=crop');
    background-size: cover;
    background-position: center;
    color: #fff;
    position: relative;
}

.room-breadcrumb-banner::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, #F5A623, transparent);
}

.room-breadcrumb-banner__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.35);
    z-index: 1;
}

.room-breadcrumb-banner__content {
    position: relative;
    z-index: 2;
}

.room-breadcrumb-banner__title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 1rem;
    text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.room-breadcrumb-banner__trail {
    display: flex;
    gap: 0.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.room-breadcrumb-banner__trail a {
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    transition: color 0.3s ease;
}

.room-breadcrumb-banner__trail a:hover {
    color: #F5A623;
}

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 991px) {
    .offers-section {
        padding: 1.25rem;
    }

    .section-label h4 {
        font-size: 1.25rem;
    }

    .offer-image {
        height: 185px;
    }

    .room-breadcrumb-banner__title {
        font-size: 2.5rem;
    }
}

@media (max-width: 767px) {
    .offers-section {
        margin-bottom: 2rem;
    }

    .offer-title {
        font-size: 1.1rem;
    }

    .offer-description {
        font-size: 0.85rem;
    }

    .room-breadcrumb-banner__title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .offers-section {
        padding: 1rem 0.875rem;
    }

    .offer-image {
        height: 165px;
    }

    .offer-title {
        font-size: 1rem;
    }

    .offer-description {
        font-size: 0.8rem;
    }

    .section-label h4 {
        font-size: 1.1rem;
    }

    .badge {
        font-size: 0.65rem !important;
        padding: 0.35rem 0.5rem !important;
    }
}

/* ── Touch device optimization ─────────────────────────────── */
@media (hover: none) {
    .offer-card:hover {
        transform: none;
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    }

    .offer-card:hover .offer-image img {
        transform: none;
    }

    .offer-card:hover::after {
        opacity: 0;
    }
}

/* ── Accessibility ─────────────────────────────────────────── */
.offer-card a:focus,
.swiper-button-next:focus,
.swiper-button-prev:focus {
    outline: 3px solid #F5A623;
    outline-offset: 3px;
}