/*
Theme Name: Surya Hotel Theme
Theme URI: https://suryahotels.com
Author: Expert Theme Developer
/*
Theme Name: Surya Hotel Theme
Theme URI: https://suryahotels.com
Author: Expert Theme Developer
Author URI: https://suryahotels.com
Description: Custom dynamic WordPress theme for Surya Hotel using SCF.
Version: 1.0.0
Text Domain: surya-hotel
*/

/* 360 View Floating Button */
.virtual-tour-btn {
    position: fixed;
    top: 50%;
    right: 20px;
    z-index: 9999;
    /* Dark Glassmorphism to stand out on white backgrounds */
    background: rgba(20, 30, 50, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
    text-decoration: none;
    transform: translateY(-50%);
    animation: breathe-glass 2s infinite ease-in-out;
    transition: all 0.3s ease;
}

.virtual-tour-btn:hover {
    color: #fff;
    background: rgba(30, 50, 80, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.3);
    animation-play-state: paused;
    transform: translateY(-50%) scale(1.1);
}

.virtual-tour-btn::before {
    content: '';
    position: absolute;
    top: -5px; left: -5px; right: -5px; bottom: -5px;
    border-radius: 50%;
    border: 2px solid rgba(30, 50, 80, 0.6);
    opacity: 0;
    animation: ripple 2s infinite ease-out;
}

@keyframes breathe-glass {
    0% {
        transform: translateY(-50%) scale(1);
        box-shadow: 0 0 0 0 rgba(20, 30, 50, 0.5);
    }
    50% {
        transform: translateY(-50%) scale(1.05);
        box-shadow: 0 0 20px 10px rgba(20, 30, 50, 0);
    }
    100% {
        transform: translateY(-50%) scale(1);
        box-shadow: 0 0 0 0 rgba(20, 30, 50, 0);
    }
}

@keyframes ripple {
    0% {
        transform: scale(0.8);
        opacity: 0.8;
    }
    100% {
        transform: scale(1.4);
        opacity: 0;
    }
}

/* On smaller screens, adjust sizing slightly */
@media (max-width: 768px) {
    .virtual-tour-btn {
        width: 60px;
        height: 60px;
        right: 15px;
    }
}

/* WhatsApp Floating Button */
.whatsapp-floating-btn {
    position: fixed;
    bottom: 100px; /* Adjusted to prevent overlapping with Tawk.to */
    right: 20px;
    z-index: 9999;
    background-color: #25D366;
    color: #fff;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    text-decoration: none;
    transition: all 0.3s ease;
    animation: bounce-whatsapp 2s infinite ease-in-out;
}

.whatsapp-floating-btn:hover {
    background-color: #128C7E;
    color: #fff;
    transform: scale(1.1);
    animation-play-state: paused;
}

@keyframes bounce-whatsapp {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

@media (max-width: 768px) {
    .whatsapp-floating-btn {
        width: 55px;
        height: 55px;
        right: 15px;
        bottom: 160px; /* Adjusted for mobile sticky bar and Tawk.to */
    }
    .whatsapp-floating-btn svg {
        width: 28px;
        height: 28px;
    }
}

/* CMS Pages Content Styling */
.cms-page-content {
    font-size: 16px;
    line-height: 1.8;
    color: var(--color-dark-1, #333);
    text-align: left;
}
.cms-page-content p {
    margin-bottom: 20px;
}
.cms-page-content h1, 
.cms-page-content h2, 
.cms-page-content h3, 
.cms-page-content h4, 
.cms-page-content h5, 
.cms-page-content h6 {
    margin-top: 40px;
    margin-bottom: 20px;
    font-weight: 600;
}
.cms-page-content h1 { font-size: 2.25rem; }
.cms-page-content h2 { font-size: 1.75rem; }
.cms-page-content h3 { font-size: 1.5rem; }
.cms-page-content ul {
    list-style-type: disc;
    margin-left: 20px;
    margin-bottom: 20px;
}
.cms-page-content ol {
    list-style-type: decimal;
    margin-left: 20px;
    margin-bottom: 20px;
}
.cms-page-content li {
    margin-bottom: 10px;
}
.cms-page-content a {
    text-decoration: underline;
}
.cms-page-content strong, .cms-page-content b {
    font-weight: 700;
}



/* =========================================================================
   HOTEL BOOKING PLUGIN: GLOBAL OVERRIDES FOR CART & CHECKOUT
   ========================================================================= */

/* Container resets to guarantee wide, beautiful layouts */
.hb-cart-container,
.hb-checkout-container {
    max-width: 1400px !important;
    margin: 120px auto 80px auto !important;
    padding: 0 20px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    font-family: 'Inter', -apple-system, sans-serif !important;
}

/* Page Titles */
.hb-cart-main-title,
.hb-checkout-container h2 {
    font-size: 40px !important;
    font-weight: 800 !important;
    text-align: center !important;
    color: #1a365d !important;
    margin-bottom: 10px !important;
}
.hb-cart-container > p,
.hb-checkout-container > p {
    text-align: center !important;
    font-size: 16px !important;
    color: #64748b !important;
    margin-bottom: 50px !important;
}

/* Main Cards */
.hb-cart-item-card {
    border: none !important;
    border-radius: 16px !important;
    box-shadow: 0 8px 30px rgba(0,0,0,0.06) !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
    background: #fff !important;
    margin-bottom: 30px !important;
}
.hb-cart-item-card:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 12px 40px rgba(0,0,0,0.1) !important;
}

/* Image wrappers inside cart */
.hb-cart-item-img-wrap {
    width: 300px !important;
    height: 220px !important;
    border-radius: 12px !important;
}

/* Typography Enhancements */
.hb-cart-details-header h3 {
    font-size: 26px !important;
    color: #0f172a !important;
}
.hb-cart-price-block {
    text-align: right !important;
}
.hb-cart-price-block div[id^="price-"] {
    font-size: 32px !important;
    color: #e5c158 !important;
}

/* Addon Section (Meals/Amenities) */
.hb-addons-section {
    background: #f8fafc !important;
    border-top: 1px solid #e2e8f0 !important;
    padding: 30px !important;
}
.hb-meal-card {
    background: #fff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    transition: all 0.2s ease !important;
}
.hb-meal-card.is-active {
    border-color: #e5c158 !important;
    box-shadow: 0 0 0 2px rgba(229,193,88,0.2) !important;
}

/* Checkout Grid Layout */
.hb-checkout-container {
    display: flex !important;
    flex-direction: row !important;
    gap: 50px !important;
    align-items: flex-start !important;
}
.hb-checkout-container > div:first-child {
    flex: 1 1 60% !important;
}
.hb-checkout-container > div:last-child {
    flex: 1 1 40% !important;
    max-width: 450px !important;
}

/* Booking Summary Box */
.hb-booking-summary {
    background: #ffffff !important;
    border: none !important;
    border-radius: 16px !important;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08) !important;
    padding: 40px !important;
    position: sticky !important;
    top: 40px !important;
}

/* Buttons */
button#hb-pay-btn,
.hb-cart-container .hb-btn--primary {
    background: #1a365d !important;
    color: #fff !important;
    padding: 18px 32px !important;
    font-size: 18px !important;
    border-radius: 10px !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
}
button#hb-pay-btn:hover,
.hb-cart-container .hb-btn--primary:hover {
    background: #e5c158 !important;
    color: #1a365d !important;
}

/* Responsive Overrides */
@media (max-width: 1024px) {
    .hb-checkout-container {
        flex-direction: column !important;
        gap: 30px !important;
    }
    .hb-checkout-container > div:first-child,
    .hb-checkout-container > div:last-child {
        flex: 1 1 100% !important;
        max-width: 100% !important;
    }
    .hb-cart-item-flex {
        flex-direction: column !important;
    }
    .hb-cart-item-img-wrap {
        width: 100% !important;
        height: 250px !important;
        margin-bottom: 20px !important;
    }
    .hb-cart-details-header {
        flex-direction: column !important;
    }
    .hb-cart-price-block {
        text-align: left !important;
        margin-top: 15px !important;
    }
}
}

}

/* Fix for Search Results GO button on mobile */
@media (max-width: 767px) {
    .searchForm__button {
        width: 100% !important;
        display: block !important;
        margin-top: 15px !important;
    }
    .searchForm__button button {
        width: 100% !important;
        border-radius: 8px !important;
    }
}
