/* Floating Side Banner - Refined */
.floating_box {
    position: fixed;
    right: 15px;
    bottom: 30px;
    z-index: 9999;
}

#sideBanner {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

#sideBanner .banner_wrap i, 
#sideBanner .banner_wrap img {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 55px;
    height: 55px;
    background: #ffffff;
    color: #a674b8; /* Lavender */
    border-radius: 50%;
    font-size: 20px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    border: 2px solid #f8f5fb;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* API Injected Image Support */
#sideBanner .promo .banner_wrap img {
    width: 55px !important;
    height: 55px !important;
    object-fit: cover;
    border: 2px solid #c8b6d9;
}

#sideBanner .banner_wrap:hover i {
    background: #a674b8;
    color: #ffffff;
    transform: translateY(-5px) scale(1.1);
}

.toggle-promo {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(5px);
    border-radius: 50% !important;
    border: 1px solid #c8b6d9 !important;
    color: #a674b8 !important;
}

/* Luxury Modal Styling */
.luxury-modal {
    border: none !important;
    border-radius: 20px !important;
    background: #fff;
    box-shadow: 0 25px 50px rgba(0,0,0,0.2) !important;
}

.luxury-header {
    background: #a674b8 !important; /* Lavender */
    padding: 25px !important;
    border-radius: 20px 20px 0 0 !important;
}

.luxury-header .modal-title {
    font-family: 'Cinzel', serif;
    color: white;
    font-size: 1.4rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.luxury-body {
    background: url('../img/13860032_5393012.jpg') center/cover;
    min-height: 250px;
}

.popup-overlay {
    background: rgba(255, 255, 255, 0.9);
    padding: 40px 20px;
    height: 100%;
}

.promo-item {
    background: white;
    border-radius: 15px;
    margin-bottom: 15px;
    border: 1px solid #f0e6f5;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(166, 116, 184, 0.1);
}

.promo-item:hover {
    transform: scale(1.02);
    border-color: #a674b8;
}

.promo-content {
    display: flex;
    align-items: center;
    padding: 20px;
    text-decoration: none !important;
}

.gold-icon {
    font-size: 2.5rem;
    color: #e1b941; /* Gold */
    margin-right: 20px;
}

.text-wrap {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.promo-sub {
    font-family: 'Abel', sans-serif;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 2px;
    color: #888;
}

.promo-main {
    font-family: 'Cinzel', serif;
    font-size: 1.25rem;
    color: #333;
    font-weight: bold;
}

.arrow-icon {
    color: #c8b6d9;
    font-size: 1.2rem;
}

.luxury-footer {
    background: #f8f5fb !important;
    border-radius: 0 0 20px 20px !important;
    color: #555;
    padding: 15px 25px !important;
}

.form-check-input:checked {
    background-color: #a674b8;
    border-color: #a674b8;
}

/* Animations */
@keyframes slideIn {
    from { opacity: 0; transform: translateX(30px); }
    to { opacity: 1; transform: translateX(0); }
}

#sideBanner .promo {
    animation: slideIn 0.5s ease forwards;
}

/* Responsive */
@media (max-width: 576px) {
    .luxury-header .modal-title { font-size: 1.1rem; }
    .gold-icon { font-size: 1.8rem; }
    .promo-main { font-size: 1.1rem; }
}

.banner_wrap {
    display: block;
    text-decoration: none;
    transition: transform 0.2s ease;
}

.banner_wrap:hover {
    transform: scale(1.05);
}

.banner_wrap img {
    display: block;
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* Icon styles for banner */
.banner_wrap i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #c8b6d9, #b8941f);
    color: #fff;
    border-radius: 50%;
    font-size: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.banner_wrap:hover i {
    background: linear-gradient(135deg, #b8941f, #d4af37);
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.toggle-promo {
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 5px 0 0 5px;
    height: 50px;
    width: 50px;
    color: #fff;
    /* background-color: rgba(0, 0, 0, 0.0); */
    border: 1px solid #f1f1f1;
    padding: 0;
}

.toggle-promo i {
    font-size: 16px;
    transition: transform 0.3s ease;
}

.toggle-promo:hover {
    /* background-color: rgba(0, 0, 0, 0.9); */
}

.toggle-promo:hover i {
    transform: translateX(3px);
}

/* Toggle state - when banner is hidden, rotate icon */
.floating_box.hidden .toggle-promo i {
    transform: rotate(180deg);
}

/* Hidden state for banner - hide only promo items, keep toggle visible */
.floating_box.hidden .promo {
    display: none;
}

/* Modal Popup Styles */
#exampleModalCenter .modal-content {
    border-radius: 10px;
    overflow: hidden;
    border: none;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

#exampleModalCenter .modal-header {
    padding: 15px 20px;
    border-bottom: none;
}

#exampleModalCenter .modal-body {
    max-height: 70vh;
    overflow-y: auto;
}

#popup-promo .popup {
    display: flex;
    flex-direction: column;
}

#popup-promo .popup > div {
    margin-bottom: 0;
}

.promo-img {
    display: block;
    width: 100%;
    height: auto;
    transition: opacity 0.2s ease;
}

.promo-img:hover {
    opacity: 0.9;
}

/* Promo link styles in modal */
.promo-link {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    text-decoration: none;
    color: #333;
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid #ababab;
    transition: all 0.3s ease;
}

.promo-link:hover {
    background: rgba(255, 255, 255, 1);
    color: #d4af37;
    transform: translateX(5px);
}

.promo-icon {
    font-size: 32px;
    margin-right: 15px;
    color: #d4af37;
}

.promo-text {
    font-size: 18px;
    font-weight: 600;
    font-family: 'Cinzel', serif;
}

#exampleModalCenter .modal-footer {
    padding: 10px 20px;
    border-top: none;
}

#exampleModalCenter .modal-footer input[type="checkbox"] {
    margin-right: 5px;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .floating_box {
        bottom: 10px;
    }
    
    #sideBanner .promo {
        margin-bottom: 3px;
    }
    
    .banner_wrap img {
        max-width: 80px;
    }
    
    .banner_wrap i {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}

/* Animation for banner items */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

#sideBanner .promo {
    animation: slideIn 0.3s ease forwards;
}

#sideBanner .promo:nth-child(1) { animation-delay: 0.1s; }
#sideBanner .promo:nth-child(2) { animation-delay: 0.2s; }
#sideBanner .promo:nth-child(3) { animation-delay: 0.3s; }
#sideBanner .promo:nth-child(4) { animation-delay: 0.4s; }

