/* ================================================
   ODOO ELEMENT OVERRIDES & HIDES
   ================================================ */

/* Reset background Odoo */
#wrapwrap {
    background-color: #f9f6f1 !important;
    background-image: none !important;
}

body {
    background-image: none !important;
}

/* Hide Contact Us dari navbar */
.navbar-nav section[data-snippet='s_text_block'],
.navbar-nav .s_text_block.o_colored_level {
    display: none !important;
}

/* Hide Odoo default search button di navbar */
.o_main_nav a[data-bs-target='#o_search_modal'],
.o_main_nav li:has(> a[data-bs-target='#o_search_modal']) {
    display: none !important;
}

/* Hide original editable logo, replace dengan company logo */
.navbar-brand.logo span[role='img'] {
    display: none !important;
}

.navbar-brand.logo::after {
    content: '';
    display: block;
    width: 95px;
    height: 40px;
    background-image: url('/web/image/res.company/1/logo');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: left center;
}

/* Remove footer border Odoo default */
/* footer#bottom {
    border-top: none !important;
} */

/* Hide Odoo default copyright bar */
.o_footer_copyright {
    display: none !important;
}

/* Hide default Odoo menu items */
#top_menu a[href='/'] {
    display: none !important;
}
#top_menu li:has(a[href='/']) {
    display: none !important;
}
#top_menu a[href='/contactus'] {
    display: none !important;
}
#top_menu li:has(a[href='/contactus']) {
    display: none !important;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== FOOTER ===== */
.hotel-footer {
    background: linear-gradient(to bottom, var(--offwhite) 0%, #F5F3EF 100%);
    padding: 80px 0 0;
    border-top: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.footer-decoration {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold) 0%, var(--gold-light) 50%, var(--gold) 100%);
}

.footer-main {
    padding-bottom: 60px;
}

.footer-col {
    padding: 0 20px 30px;
}

/* Footer Title */
.footer-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--navy) !important;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.footer-logo-accent {
    color: var(--gold);
}

.footer-divider {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--gold) 0%, transparent 100%);
    border: none;
    margin: 0 0 24px 0;
    border-radius: 2px;
}

/* Footer Description */
.footer-desc {
    color: var(--slate);
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 24px;
}

/* Footer Links */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links li a {
    color: var(--slate);
    text-decoration: none;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
    padding: 4px 0;
}

.footer-links li a i {
    color: var(--gold);
    font-size: 0.875rem;
    width: 16px;
    transition: var(--transition);
}

.footer-links li a:hover {
    color: var(--navy);
    padding-left: 8px;
}

.footer-links li a:hover i {
    color: var(--navy);
}

/* Footer Contact */
.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
}

.footer-contact li {
    margin-bottom: 16px;
}

.footer-contact li a {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    color: var(--slate);
    text-decoration: none;
    padding: 12px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    background: transparent;
}

.footer-contact li a:hover {
    background: white;
    box-shadow: var(--shadow-sm);
}

.contact-icon {
    width: 42px;
    height: 42px;
    background: white;
    border: 2px solid var(--gold-pale);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: var(--transition);
}

.footer-contact li a:hover .contact-icon {
    background: var(--gold);
    border-color: var(--gold);
}

.contact-icon i {
    color: var(--gold);
    font-size: 1.1rem;
    transition: var(--transition);
}

.footer-contact li a:hover .contact-icon i {
    color: var(--navy);
}

.contact-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.contact-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 600;
    letter-spacing: 0.5px;
}

.contact-value {
    font-size: 0.95rem;
    color: var(--navy);
    font-weight: 500;
}

/* Social Media Buttons */
.footer-social {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 24px;
}

.footer-social-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: white;
    border: 2px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--slate);
    text-decoration: none;
    font-size: 1.1rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.footer-social-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: var(--gold);
    transition: var(--transition);
    transform: translate(-50%, -50%);
}

.footer-social-btn:hover::before {
    width: 100%;
    height: 100%;
}

.footer-social-btn:hover {
    border-color: var(--gold);
    color: var(--navy);
}

.footer-social-btn i {
    position: relative;
    z-index: 1;
}

/* Footer Bottom */
.footer-bottom {
    padding: 32px 0;
    border-top: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.5);
}

.footer-copyright {
    margin: 0;
    color: var(--slate);
    font-size: 0.875rem;
}

.footer-bottom-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 24px;
    justify-content: center;
}

.footer-bottom-links li a {
    color: var(--slate);
    text-decoration: none;
    font-size: 0.875rem;
    transition: var(--transition);
    position: relative;
}

.footer-bottom-links li a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: var(--transition);
}

.footer-bottom-links li a:hover {
    color: var(--navy);
}

.footer-bottom-links li a:hover::after {
    width: 100%;
}

/* Responsive */
@media (max-width: 991px) {
    .hotel-footer {
        padding: 60px 0 0;
    }

    .footer-main {
        padding-bottom: 40px;
    }

    .footer-col {
        margin-bottom: 40px;
    }

    .footer-bottom-links {
        justify-content: center;
        margin-top: 16px;
    }
}

@media (max-width: 575px) {
    .hotel-footer {
        padding: 48px 0 0;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-bottom-links {
        flex-direction: column;
        gap: 12px;
        align-items: center;
    }

    .footer-contact li a {
        padding: 8px;
    }

    .contact-icon {
        width: 38px;
        height: 38px;
    }

    .footer-title {
        text-align: center;
    }

    .footer-divider {
        margin-left: auto;
        margin-right: auto;
    }

    .footer-desc {
        text-align: center;
    }
}
/* ================================================
   STICKY BAR SHARED
   ================================================ */
.sticky-bar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    gap: 16px;
}

.sticky-bar-info {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

.sticky-bar-info i {
    color: #d4af37;
    font-size: 18px;
    flex-shrink: 0;
}

.sticky-bar-rooms {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
}

.sticky-bar-price {
    font-size: 18px;
    font-weight: 900;
    color: #d4af37;
    font-family: 'Playfair Display', Georgia, serif;
    white-space: nowrap;
}

.sticky-bar-duration {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    white-space: nowrap;
}

.sticky-bar-dates {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    white-space: nowrap;
}

.floating-cart-count {
    background: #d4af37;
    color: #1a1a1a;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 900;
    flex-shrink: 0;
}

.sticky-bar-btn {
    background: #d4af37;
    color: #1a1a1a;
    border: none;
    border-radius: 10px;
    padding: 12px 28px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    letter-spacing: 0.3px;
    white-space: nowrap;
    flex-shrink: 0;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.sticky-bar-btn:hover {
    opacity: 0.88;
}

/* ================================================
   BOOKING STICKY BAR
   ================================================ */
.booking-sticky-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #1a1a1a;
    z-index: 9998;
    box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.2);
}

/* ================================================
   RESPONSIVE STICKY BAR
   ================================================ */
@media (max-width: 768px) {
    .sticky-bar-inner {
        padding: 12px 0;
        gap: 10px;
    }

    .sticky-bar-price {
        font-size: 15px;
    }

    .sticky-bar-duration {
        display: none;
    }

    .sticky-bar-dates {
        display: none;
    }

    .sticky-bar-btn {
        padding: 10px 16px;
        font-size: 13px;
    }

    .sticky-bar-rooms {
        font-size: 12px;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 120px;
    }
}

/* ================================================
   RESERVATION STICKY BAR
   ================================================ */
.reservation-sticky-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #1a1a1a;
    z-index: 9999;
    box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: background 0.3s ease;
}
