/* Remove blue text selection highlighting globally - AGGRESSIVE */
*::selection,
*::-moz-selection,
::selection,
::-moz-selection,
body::selection,
body::-moz-selection,
html::selection,
html::-moz-selection,
div::selection,
div::-moz-selection,
span::selection,
span::-moz-selection,
p::selection,
p::-moz-selection,
a::selection,
a::-moz-selection {
    background-color: transparent !important;
    background: transparent !important;
    color: inherit !important;
    text-shadow: none !important;
}

/* Remove tap highlight on mobile - AGGRESSIVE */
*,
*:before,
*:after,
body,
html,
div,
span,
a,
button,
input {
    -webkit-tap-highlight-color: transparent !important;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0) !important;
    -webkit-touch-callout: none !important;
}


/* Avrina Home - Custom Overrides */
/* Fix Background Cover */
#header {
    background-size: cover !important;
    background-position: center center !important;
}

/* Remove Blue Background from Hamburger Menu */
/* Remove Blue Background from Hamburger Menu (Both standard and QloApps module) */
.nav_toggle,
.nav_toggle:hover,
.nav_toggle:focus,
.nav_toggle:active,
.navbar-toggle,
.navbar-default .navbar-toggle,
.navbar-toggle:hover,
button.navbar-toggle {
    background-color: transparent !important;
    background: transparent !important;
    border: none !important;
    outline: none !important;
}

/* Ensure hamburger lines are white */
.nav_toggle .icon-bar,
.navbar-toggle .icon-bar {
    background-color: #fff !important;
}

/* Remove box shadow if any */
.navbar-toggle {
    box-shadow: none !important;
}

/* --- FRONT OFFICE MODERNIZATION START --- */

/* 1. Global Typography */
body,
h1,
h2,
h3,
h4,
h5,
h6,
.btn,
.form-control,
.navbar-nav>li>a {
    font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif !important;
}

/* 2. Header & Navigation */
#header .navbar-header .logo {
    font-weight: 800 !important;
    letter-spacing: 1px !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2) !important;
}

.header-top {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0) 100%) !important;
    padding-top: 15px !important;
}

/* 3. Buttons - Consumer Friendly (Pill Shape) */
.btn {
    border-radius: 50px !important;
    /* Pill shape */
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    padding: 10px 25px !important;
    border: none !important;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1) !important;
}

.btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 7px 14px rgba(0, 0, 0, 0.15) !important;
}

.btn-primary,
.button.ajax_add_to_cart_button {
    background: linear-gradient(135deg, #FF6B6B 0%, #EE5253 100%) !important;
    /* Warm Red/Coral for conversions */
    color: white !important;
}

.btn-default {
    background: white !important;
    color: #333 !important;
}

/* 4. Room/Product Cards */
.room_cont,
.product-container {
    border: none !important;
    border-radius: 16px !important;
    background: #ffffff !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05) !important;
    overflow: hidden !important;
    transition: transform 0.3s ease !important;
    margin-bottom: 30px !important;
}

.room_cont:hover,
.product-container:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1) !important;
}

/* Image Zoom Effect */
.room_img_block,
.product_img_link {
    overflow: hidden !important;
    border-top-left-radius: 16px !important;
    border-top-right-radius: 16px !important;
}

.room_img_block img,
.product_img_link img {
    transition: transform 0.5s ease !important;
}

.room_cont:hover .room_img_block img,
.product-container:hover .product_img_link img {
    transform: scale(1.05) !important;
}

/* 5. Search Panel (Glassmorphism) */
#hotel_search_panel_container,
.header-search-panel {
    background: rgba(255, 255, 255, 0.95) !important;
    /* High opacity white */
    backdrop-filter: blur(10px) !important;
    border-radius: 12px !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    padding: 20px !important;
    margin-top: 20px !important;
}

.form-control {
    border-radius: 8px !important;
    border: 1px solid #e0e0e0 !important;
    padding: 10px 15px !important;
    height: auto !important;
    background: #f9f9f9 !important;
    transition: all 0.2s ease !important;
}

.form-control:focus {
    background: #fff !important;

    box-shadow: none !important;
}

/* 6. Footer - Clean Dark */
#footer,
.footer-container,
.footer-bottom,
.bottom-footer,
#footer .row {
    background-color: #000000 !important;
    /* Full Black */
    color: #a0a0a0 !important;
}

#footer {
    padding-top: 50px !important;
}

#footer h4 {
    color: white !important;
    text-transform: uppercase !important;
    font-weight: 700 !important;
    border-bottom: 2px solid #333 !important;
    padding-bottom: 15px !important;
    margin-bottom: 20px !important;
}

#footer a {
    color: #a0a0a0 !important;
    transition: color 0.2s ease !important;
}

#footer a:hover {
    color: #fff !important;
    text-decoration: none !important;
}


/* --- ANIMATIONS & DOODLES START --- */

/* 1. Keyframes */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.1;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.2;
    }

    100% {
        transform: scale(1);
        opacity: 0.1;
    }
}

/* 2. Doodle Styles */
.doodle {
    position: absolute;
    z-index: 0;
    pointer-events: none;
}

.doodle-circle {
    animation: float 6s ease-in-out infinite;
    top: 10%;
    left: 5%;
}

.doodle-squiggle {
    animation: rotate 20s linear infinite;
    bottom: 15%;
    right: 5%;
}

.doodle-dots {
    animation: pulse 4s ease-in-out infinite;
    top: 20%;
    right: 15%;
}

/* 3. Hover Effects for Testimonials */
.testimonialContentContainer {
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
    padding: 20px !important;
    border-radius: 12px !important;
    background: rgba(255, 255, 255, 0.05);
    /* Very subtle bg */
}

.testimonialContentContainer:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05) !important;
    background: #ffffff !important;
}

/* Adjust text for better contrast on hover if needed */
.testimonialContentText {
    transition: color 0.3s ease !important;
}

#hotelTestimonialBlock {
    /* Ensure doodles don't overflow */
    position: relative;
    overflow: hidden;
    padding-top: 50px;
    padding-bottom: 50px;
}

/* --- AMENITIES SECTION STYLING --- */
#hotelFeaturesBlock,
.hotel_features_block_container {
    background-color: #ffffff !important;
    padding-top: 50px !important;
    padding-bottom: 50px !important;
}

/* Ensure descriptions are readable on white */
.home_block_description {
    color: #555 !important;
}


/* --- AMENITIES CONTENT FIX --- */
.amenity_desc_primary,
.amenity_desc_secondary,
.amenity_desc_cont {
    background-color: #ffffff !important;
}

.amenity_heading {
    color: #333333 !important;
    text-transform: uppercase;
    font-weight: 700;
}

.amenity_description {
    color: #666666 !important;
}

.amenity_desc_hr {
    background-color: #ddd !important;
    border-color: #ddd !important;
}


/* --- AMENITIES SECTION FIX V2 --- */
#hotelAmenitiesBlock,
#hotelAmenitiesBlock .home_amenities_wrapper,
#hotelAmenitiesBlock .home_block_desc_wrapper,
.homeAmenitiesBlock {
    background-color: #ffffff !important;
}

#hotelAmenitiesBlock {
    padding-top: 50px;
    padding-bottom: 50px;
}

/* Fix text colors in the description area */
#hotelAmenitiesBlock .home_block_heading {
    color: #333333 !important;
}

#hotelAmenitiesBlock .home_block_description {
    color: #555555 !important;
}

/* Ensure key lines are visible */
#hotelAmenitiesBlock .home_block_desc_line {
    background-color: #ccc !important;
}


/* --- AMENITIES SECTION REDESIGN (FINAL FIX) --- */

/* 1. Global White Background (Safe for Images) */
#hotelAmenitiesBlock,
.home_amenities_wrapper,
.home_block_desc_wrapper,
.homeAmenitiesBlock,
.amenity_desc_primary,
.amenity_desc_secondary,
.amenity_desc_cont,
.amenity_content {
    background-color: #ffffff !important;
    /* Only color, no shorthand 'background' */
}

/* 2. Full Width Breakout */
#hotelAmenitiesBlock {
    width: 100vw !important;
    position: relative !important;
    left: 50% !important;
    right: 50% !important;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
    padding-top: 10px !important;
    /* TIGHT spacing at top */
    padding-bottom: 50px !important;
    margin-bottom: 50px !important;
    margin-top: 0px !important;
    /* Remove top margin */
    overflow-x: hidden !important;
}

/* 3. Heading Spacing (Minimal) */
#hotelAmenitiesBlock .home_block_desc_wrapper {
    margin-bottom: 15px !important;
    /* Pull content closer */
    padding-bottom: 0 !important;
    margin-top: 10px !important;
}

#hotelAmenitiesBlock .home_block_heading {
    margin-top: 0 !important;
    margin-bottom: 5px !important;
    padding-top: 0 !important;
}

#hotelAmenitiesBlock .home_block_description {
    margin-top: 0 !important;
    margin-bottom: 0px !important;
}

#hotelAmenitiesBlock .home_block_desc_line {
    display: none !important;
}

/* 4. Content Layout & Images */
#hotelAmenitiesBlock .homeAmenitiesBlock {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

#hotelAmenitiesBlock .amenity_img_secondary {
    background-color: transparent !important;
    /* Transparent color to show image */
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    min-height: 350px !important;
    width: 100% !important;
    height: 100% !important;
    border: none !important;
    display: block !important;
}

/* 5. Typography */
#hotelAmenitiesBlock h1,
#hotelAmenitiesBlock h2,
#hotelAmenitiesBlock p,
#hotelAmenitiesBlock span,
#hotelAmenitiesBlock div {
    color: #333333 !important;
}

#hotelAmenitiesBlock .home_block_description,
#hotelAmenitiesBlock .amenity_description {
    color: #666666 !important;
}

/* 6. Layout Reset (Remove Margins/Borders) */
#hotelAmenitiesBlock .col-md-6,
#hotelAmenitiesBlock .col-sm-6,
#hotelAmenitiesBlock .row {
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    background-color: transparent !important;
}

/* 7. Footer Protection */
#footer,
.footer-container {
    background-color: #000000 !important;
    margin-top: 0 !important;
}

/* --- AMENITIES SECTION REDESIGN (CORRECTED LAYOUT) --- */

/* 1. Force White Everywhere (except images) */
body {
    background-color: #ffffff;
}

#hotelAmenitiesBlock,
.home_amenities_wrapper,
.home_block_desc_wrapper,
.homeAmenitiesBlock,
.amenity_desc_primary,
.amenity_desc_secondary,
.amenity_desc_cont,
.amenity_content,
#hotelAmenitiesBlock .row,
#hotelAmenitiesBlock .col-md-6,
#hotelAmenitiesBlock .col-sm-6 {
    background-color: #ffffff !important;
}

/* 2. Full Width Breakout */
#hotelAmenitiesBlock {
    width: 100vw !important;
    position: relative !important;
    left: 50% !important;
    right: 50% !important;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
    padding-top: 10px !important;
    padding-bottom: 50px !important;
    margin-bottom: 50px !important;
    margin-top: 0px !important;
    overflow: hidden !important;
    /* Fix separate scrollbar */
}

/* 3. Heading Spacing (Increased) */
#hotelAmenitiesBlock .home_block_desc_wrapper {
    margin-bottom: 30px !important;
    /* Increased space */
    padding-bottom: 0 !important;
    margin-top: 20px !important;
}

#hotelAmenitiesBlock .home_block_heading {
    margin-top: 0 !important;
    margin-bottom: 20px !important;
    /* Increased space */
    padding-top: 0 !important;
}

#hotelAmenitiesBlock .home_block_description {
    margin-top: 0 !important;
    margin-bottom: 10px !important;
}

#hotelAmenitiesBlock .home_block_desc_line {
    display: none !important;
}

/* 4. Content Layout */
#hotelAmenitiesBlock .homeAmenitiesBlock {
    margin-top: 0 !important;
    padding-top: 0 !important;
    position: relative !important;
}

#hotelAmenitiesBlock .amenity_img_secondary {
    background-color: transparent !important;
    background-size: cover !important;
    background-position: center !important;
    min-height: 350px !important;
    width: 100% !important;
    height: 100% !important;
    border: none !important;
    display: block !important;
    padding-bottom: 0 !important;
}

/* 5. Typography */
#hotelAmenitiesBlock h1,
#hotelAmenitiesBlock h2,
#hotelAmenitiesBlock p,
#hotelAmenitiesBlock span,
#hotelAmenitiesBlock div {
    color: #333333 !important;
}

#hotelAmenitiesBlock .home_block_description,
#hotelAmenitiesBlock .amenity_description {
    color: #666666 !important;
}

/* 6. Remove Gaps/Margins */
#hotelAmenitiesBlock .col-md-6,
#hotelAmenitiesBlock .col-sm-6,
#hotelAmenitiesBlock .row {
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
}

/* 7. Footer Protection */
#footer,
.footer-container {
    background-color: #000000 !important;
    margin-top: 0 !important;
}

/* --- AMENITIES SECTION SAFETY FIX --- */
#hotelAmenitiesBlock,
#hotelAmenitiesBlock .homeAmenitiesBlock,
#hotelAmenitiesBlock .amenity_desc_primary,
#hotelAmenitiesBlock .amenity_content,
#hotelAmenitiesBlock .row {
    background-color: #ffffff !important;
}

#hotelAmenitiesBlock .amenity_img_secondary {
    background-color: transparent !important;
}

/* --- BUTTON TEXT & CHECKOUT FIX --- */
.btn,
.button,
button,
a.button,
.btn-default,
.btn-primary {
    text-shadow: none !important;
}

/* Fix Proceed to Checkout Visibility */
.standard-checkout,
.button-medium,
#button_order_cart,
.cart_navigation .button-medium {
    background-color: #000000 !important;
    color: #ffffff !important;
    opacity: 1 !important;
    visibility: visible !important;
    border: none !important;
    text-transform: uppercase !important;
}

.standard-checkout:hover,
.button-medium:hover,
#button_order_cart:hover {
    background-color: #333333 !important;
    color: #ffffff !important;
}


/* Fix Order History Page - Remove button borders */
.footer_links .btn.btn-default.button.button-small,
#order-list .btn.btn-default.button.button-small,
#order-list .btn.btn-default.ajax-cancel-trigger {
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
    padding: 5px 10px !important;
}

.footer_links .btn.btn-default.button.button-small:hover,
#order-list .btn.btn-default.button.button-small:hover,
#order-list .btn.btn-default.ajax-cancel-trigger:hover {
    background: transparent !important;
    text-decoration: underline !important;
}

/* NUCLEAR OPTION - DISABLED
* {
    background-color: transparent !important;
}
*/

/* Allow only specific backgrounds */
body {
    background-color: #fff !important;
}

.btn-primary,
button[type='submit'],
.search-button,
#search_room_submit {
    background-color: #ff6b6b !important;
}

.booking_occupancy_wrapper .btn-primary {
    background-color: #1292FF !important;
}

/* Remove blue from any element that might have it - DISABLED
span[style*='background'],
div[style*='background'],
p[style*='background'],
a[style*='background'] {
    background: none !important;
    background-color: transparent !important;
}
*/

/* Specifically target children/adults text */
.occupancy_count span,
.qty_count span,
*[class*='children'],
*[class*='adult'] {
    background: none !important;
    background-color: transparent !important;
}


/* Remove blue border from BOOK NOW button */
.btn-primary:focus,
.btn-primary:active,
.btn-primary.focus,
.btn-primary.active {
    outline: none !important;
    box-shadow: none !important;
    border-color: transparent !important;
}



/* OVERRIDE: Remove blue border from .btn-primary (BOOK NOW button) */
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-primary.active,
.btn-primary.focus {
    outline: none !important;
    box-shadow: none !important;
    border-color: transparent !important;
    -webkit-box-shadow: none !important;
}