/* ==========================================
   Offers Page Custom Styles
   ========================================== */

/* Hero Banner */
.offers-hero {
    position: relative;
    height: 50vh;
    min-height: 520px;
    background-image: url('assets/images/offerbanner.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    color: white;
    overflow: hidden;
    padding-left:100px;
}

.offers-hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(
        90deg,
        rgba(0, 0, 0, 0.6) 0%,
        rgba(0, 0, 0, 0.2) 100%
    );
    z-index: 1;
}

.offers-breadcrumb {
    position: absolute;
    top: 24px;
    left: 108px;
    z-index: 12;
    font-size: 0.95rem;
    font-family: var(--font-poppins);
}

.offers-breadcrumb a {
    color: var(--primary-red);
    font-weight: 700;
    transition: color 0.2s;
}

.offers-breadcrumb a:hover {
    color: var(--primary-red-hover);
}

.offers-breadcrumb span.breadcrumb-sep {
    color: rgba(255, 255, 255, 0.6);
    margin: 0 10px;
}

.offers-breadcrumb span.breadcrumb-current {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

.offers-hero-content {
    background: #0000004D;
border: 0.8px solid #FFFFFF1A;
    position: relative;
    z-index: 10;
    max-width: 600px;
    padding:32px 38px;
    border-radius: 16px;
    animation: fadeInOffers 0.6s ease;
    margin-left: 8px;
    margin-top: 30px; /* Accounts for absolute breadcrumb */
}

@keyframes fadeInOffers {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.offers-hero .offer-badge {
    display: inline-block;
    background-color: var(--primary-red);
    color: white;
    padding: 6px 16px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 1px;
    margin-bottom: 14px;
    font-family: var(--font-poppins);
    text-transform: uppercase;
}

.offers-hero .offer-lim-time {
    display: block;
  color: #FFFFFFB2;
font-weight: 500;
font-size: 13px;
line-height: 19.5px;

    margin-bottom: 10px;
    text-transform: uppercase;
    font-family: var(--font-poppins);
}

.offers-hero h1 {
    color: white;
font-weight: 800;
font-size: 44px;
line-height: 48.4px;
    margin-bottom: 14px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
    font-family: var(--font-poppins);
}

.offers-hero p {
font-weight: 500;
font-size: 15px;

    color: #f3f3f3;
    margin-bottom: 24px;
    line-height: 1.5;
}

.offers-hero .hero-buttons {
    display: flex;
    gap: 16px;
}

.usd-btn{
font-weight: 700;
font-size: 18px;
line-height: 27px;
letter-spacing: 0px;
color:#F9CB52

}

.btn-outline-white {
    background: rgba(255, 255, 255, 0.12);

border: 0.8px solid #FFFFFF33;
    color: white;
    border: 2px solid white;
    backdrop-filter: blur(5px);
     display: flex;
    justify-content: center;
    align-items: center;
}

.btn-outline-white:hover {
    background: white;
    color: var(--text-main);
}

/* Exclusive Deals & Offers Enquiry Bar */
.offers-enquiry-container {
    background-color: #fff;
    border-top: 3px solid var(--primary-red);
    border-bottom: 1px solid #eaeaea;
    padding: 28px 20;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}

.offers-enquiry-bar-wrap {
    max-width: 1400px;
    margin: 0 auto;
    padding: 30px 105px;
}

.offers-enq-heading {
    font-size: 1rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 20px;
    font-family: var(--font-poppins);
}

.offers-enq-heading span {
    color: var(--primary-red);
}

.offers-enq-form {
    display: block;
}

.offers-enq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr auto;
    gap: 16px 20px;
    align-items: center;
}

.offers-enq-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.offers-enq-field label {
    font-size: 0.82rem;
    font-weight: 600;
    color: #444;
    font-family: var(--font-poppins);
}

.offers-enq-field input {
    padding: 10px 14px;
    border: 1px solid #d8d8d8;
    border-radius: 6px;
    font-size: 0.9rem;
    color: #333;
    background: #fff;
    outline: none;
    transition: border-color 0.2s;
    font-family: var(--font-poppins);
    width: 100%;
}

.offers-enq-field input:focus {
    border-color: var(--primary-red);
}

.offers-enq-field input::placeholder {
    color: #aaa;
}

.offers-enq-actions {
    grid-column: 4 / 5;
    grid-row: 1 / span 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 8px;
    height: 100%;
    padding-left: 10px;
}

.offers-enq-submit {
    background-color: var(--primary-red);
    color: white;
    border: none;
    border-radius: 6px;
    padding: 11px 28px;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    font-family: var(--font-poppins);
    white-space: nowrap;
    transition: background-color 0.2s;
    width: 100%;
}

.offers-enq-submit:hover {
    background-color: #c01a1d;
}

.offers-enq-privacy {
    font-size: 0.78rem;
    color: #999;
    text-align: right;
    white-space: nowrap;
}

.offers-enq-privacy a {
    color: var(--primary-red);
    font-weight: 600;
    text-decoration: none;
}

.offers-enq-privacy a:hover {
    text-decoration: underline;
}


.offers-enquiry-privacy a {
    color: var(--primary-red);
    font-weight: 600;
}

/* Grids & Cards */
.offers-section {
    padding: 40px 0 60px;
    background: #F8F8F8;

}

.offers-section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 30px;
}

.exp-offer{
font-weight: 700;
font-size: 13px;
leading-trim: NONE;
    display: flex;
    justify-content: center;
    align-items: center;

}

.offers-section-header h2 {
    font-size: 2.2rem;
    font-weight: 800;
    font-family: var(--font-poppins);
    color: #1a1a1a;
    display: flex;
    align-items: center;
    gap: 8px;
}

.offers-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.offer-tour-card {
    background-color: var(--bg-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    border: 0.8px solid #E1E1E1;
    box-shadow: 0px 2px 8px 0px #0000000D;

}

.offer-tour-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.card-img-wrap {
    position: relative;
    height: 180px;
    overflow: hidden;
}

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

.offer-tour-card:hover .card-img-wrap img {
    transform: scale(1.08);
}

.card-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
    text-transform: uppercase;
    font-family: var(--font-poppins);
    z-index: 2;
    border: 0.8px solid #FFFFFF4D;
    box-shadow: 0px 2px 8px 0px #0000000D;

}

.view-det-btn{
    background-color: #EB1C23;
    color: white;
font-weight: 600;
font-size: 11px;
line-height: 16.5px;
padding:8px 16px;
text-align: center;
border-radius: 4px;


}

.card-badge.featured { background-color: var(--highlight-yellow); color: var(--text-main); }
.card-badge.hot { background-color: var(--primary-red); }
.card-badge.new { background-color: #2ec4b6; }

.card-fav-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    z-index: 2;
    transition: background-color 0.2s;
}

.card-fav-btn:hover {
    background-color: white;
}

.card-fav-btn svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: #888;
    stroke-width: 2;
    transition: stroke 0.2s, fill 0.2s;
}

.card-fav-btn.active svg,
.card-fav-btn:hover svg {
    stroke: var(--primary-red);
    fill: var(--primary-red);
}

.card-body {
    padding: 14px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-meta {
font-weight: 400;
font-size: 12px;
line-height: 18px;
color:#999999;
    font-family: var(--font-poppins);

    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.card-body h3 {
font-weight: 600;
font-size: 14px;
line-height: 19.6px;
    margin-bottom: 12px;
    font-family: var(--font-poppins);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-price-label {
    display: block;
font-weight: 400;
font-size: 10px;
color:#999999;
    font-family: var(--font-poppins);


    text-transform: uppercase;
}

.card-price-value {
font-weight: 700;
font-size: 18px;


    color: var(--primary-red);
    font-family: var(--font-poppins);
}

/* Responsive Overrides */
@media (max-width: 1200px) {
    .offers-hero-content {
        padding-left: 40px;
    }
    .offers-grid-4 {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .offers-filter-bar {
        grid-template-columns: repeat(2, 1fr);
    }
    .btn-find-tours {
        grid-column: span 2;
    }
    .offers-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .offers-hero {
        padding-left: 20px;
        padding-right: 20px;
    }

    .offers-breadcrumb {
        left:30px !important
    }
    .offers-enquiry-bar-wrap {
        padding: 20px;
    }
    .offers-enq-grid {
        grid-template-columns: 1fr;
    }
    .offers-enq-actions {
        grid-column: 1 / -1;
        grid-row: auto;
        padding-left: 0;
        margin-top: 10px;
        order: 99;
    }
  
    .offers-hero h1 {
        font-size: 2.5rem;
    }
    .offers-filter-bar {
        grid-template-columns: 1fr;
    }
    .btn-find-tours {
        grid-column: span 1;
    }
    .offers-grid-4 {
        grid-template-columns: 1fr;
    }
    
    .offers-grid-4.carousel-mobile {
        display: flex !important;
        flex-direction: row !important;
        overflow-x: auto !important;
        scroll-snap-type: x mandatory;
        gap: 16px;
        padding: 8px 16px 20px 16px;
        margin-left: -16px;
        margin-right: -16px;
        width: calc(100% + 32px);
        box-sizing: border-box;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .offers-grid-4.carousel-mobile::-webkit-scrollbar {
        display: none;
    }
    
    .offers-grid-4.carousel-mobile > * {
        flex: 0 0 80% !important;
        max-width: 80%;
        scroll-snap-align: center;
        box-sizing: border-box;
    }
    .offers-section-header h2 {
        font-size: 1.8rem;
    }
}

.offer-tour-card h3 {
    margin-bottom: 6px;
    height: auto;
    font-size: 1.25rem;
}

.offer-tour-card .card-meta {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
    color: #888;
    font-size: 0.95rem;
}

.offer-tour-card .card-pricing-wrap {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    /* align-items: center; */
    gap: 12px;
}

.card-price-label {
    display: block;
    text-transform: none;
    font-size: 0.85rem;
    color: #999;
    font-weight: 400;
    margin-bottom: 4px;
    letter-spacing: 0;
}

.card-price-value {
    display: block;
    color: #1a1a1a;
    font-size: 1.1rem;
    font-weight: 800;
    font-family: var(--font-poppins);
    line-height: 1.1;
}

.card-price-value .per-person {
    font-size: 12px;
    color:#999999;
    font-weight: 400;
}

.card-badge {
    border-radius: 20px;
    padding: 6px 14px;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    border: none;
    box-shadow: none;
}

.card-badge.sale { background-color: #ed2024; color: white; }
.card-badge.new { background-color: #2ec4b6; color: white; }
.card-badge.popular { background-color: #e9b533; color: white; }

.view-det-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #ed2024;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 8px 14px;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
    transition: background-color 0.2s, transform 0.15s;
    font-family: var(--font-poppins);
}

.view-det-btn:hover {
    background-color: #c01a1d;
    color: white;
    transform: scale(1.03);
}

.card-fav-btn {
    background: white;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.card-fav-btn svg {
    stroke: #aaa;
}
