/* ==============================
   HOLIDAY DEALS SECTION
   ============================== */
.holiday-deals-section {
    background: #f7f6f2;
    padding: 80px 0;
}

/* Slider wrapper */
.hd-slider-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 40px;
    position: relative;
}

.hd-track-outer {
    overflow: hidden;
    flex: 1;
    border-radius: 16px;
}

.hd-track {
    display: flex;
    gap: 24px;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

/* Each slide */
.hd-slide {
    flex: 0 0 calc(25% - 18px);
    min-width: 240px;
}

@media (max-width: 1200px) { .hd-slide { flex: 0 0 calc(33.333% - 16px); } }
@media (max-width: 900px)  { .hd-slide { flex: 0 0 calc(50% - 12px); } }
@media (max-width: 600px)  { .hd-slide { flex: 0 0 100%; } }

/* Card */
.hd-card {
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.hd-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.15);
}

/* Image */
.hd-img-wrap {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.hd-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
    display: block;
}

.hd-card:hover .hd-img-wrap img {
    transform: scale(1.1);
}

.hd-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.55) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.35s ease;
}

.hd-card:hover .hd-overlay {
    opacity: 1;
}

.hd-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--primary);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 20px;
}

/* Info bar */
.hd-info {
    padding: 16px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hd-info h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
}

.hd-cta {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--primary);
    white-space: nowrap;
    transition: transform 0.2s;
}

.hd-card:hover .hd-cta {
    transform: translateX(4px);
}

/* Arrows */
.hd-arrow {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid var(--primary);
    background: #fff;
    color: var(--primary);
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.25s, color 0.25s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.hd-arrow:hover {
    background: var(--primary);
    color: #fff;
}

/* Dots */
.hd-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
}

.hd-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
    border: 2px solid #ccc;
    transition: background 0.3s, transform 0.3s, border-color 0.3s;
}

.hd-dot.active {
    background: var(--primary);
    border-color: var(--primary);
    transform: scale(1.35);
}

/* Modal overlay */
.hd-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 20px;
    backdrop-filter: blur(4px);
    animation: hdFadeIn 0.25s ease;
}

.hd-modal.open {
    display: flex;
}

@keyframes hdFadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.hd-modal-content {
    background: #fff;
    border-radius: 20px;
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: hdSlideUp 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
}

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

.hd-modal-close {
    position: absolute;
    top: 14px;
    right: 18px;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: #666;
    cursor: pointer;
    line-height: 1;
    z-index: 2;
    transition: color 0.2s;
}

.hd-modal-close:hover { color: #c00; }

.hd-modal-inner {
    display: flex;
    min-height: 560px;
}

/* Left image column */
.hd-modal-img-col {
    flex: 0 0 340px;
    position: relative;
    overflow: hidden;
    border-radius: 20px 0 0 20px;
    background: #0d1b2a;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hd-modal-img-col img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    padding: 8px;
}

.hd-modal-dest-name {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.75), transparent);
    color: #fff;
    font-size: 1.3rem;
    font-weight: 700;
    padding: 40px 20px 20px;
}

/* Right form column */
.hd-modal-form-col {
    flex: 1;
    padding: 32px 28px;
    overflow-y: auto;
}

.hd-modal-form-col h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.hd-form-sub {
    color: var(--text-gray);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.hd-form-row {
    display: flex;
    gap: 12px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}

.hd-form-group {
    flex: 1;
    min-width: 120px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.hd-form-group.hd-full {
    flex: 0 0 100%;
}

.hd-form-group label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.hd-form-group label span { color: #e53e3e; }

.hd-form-group input,
.hd-form-group select,
.hd-form-group textarea {
    border: 1.5px solid #e5e7eb;
    border-radius: 8px;
    padding: 9px 12px;
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    color: var(--text-dark);
    background: #fafafa;
    transition: border-color 0.2s;
    outline: none;
}

.hd-form-group input:focus,
.hd-form-group select:focus,
.hd-form-group textarea:focus {
    border-color: var(--primary);
    background: #fff;
}

.hd-submit-btn {
    width: 100%;
    padding: 13px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: background 0.25s, transform 0.2s;
    margin-top: 6px;
}

.hd-submit-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

.hd-form-msg {
    font-size: 0.9rem;
    font-weight: 600;
    margin-top: 10px;
    text-align: center;
}

/* Mobile modal */
@media (max-width: 700px) {
    .hd-modal-inner {
        flex-direction: column;
    }

    .hd-modal-img-col {
        flex: 0 0 260px;
        border-radius: 20px 20px 0 0;
    }

    .hd-modal-form-col {
        padding: 20px;
    }

    .hd-arrow {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }
}
