/* ==========================================================================
   Modern 5-Star Luxury Footer Styling - The Bungalow, Habarana
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,600;0,700;1,400&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

.footer-hotel-dark {
    background: #08162b !important;
    border-top: none !important;
    color: #ffffff !important;
    position: relative;
    font-family: 'Plus Jakarta Sans', sans-serif !important;
}

/* --- TOP CONTACT STRIP --- */
.footer-hotel-dark .hotel-get-touch {
    background: #fdfbf7 !important;
    border-top: 1px solid #efe8da !important;
    border-bottom: 1px solid #efe8da !important;
    padding: 40px 0 !important;
    text-align: left !important;
}

.footer-contact-row {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;
    flex-wrap: wrap;
}

.footer-contact-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 16px;
    border-radius: 14px;
    transition: all 0.3s ease;
}

.footer-contact-card:hover {
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
    transform: translateY(-2px);
}

.footer-contact-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(233, 185, 71, 0.14);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #c9931c;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.footer-contact-card:hover .footer-contact-icon {
    background: #E9B947;
    color: #ffffff;
    transform: scale(1.05);
}

.footer-contact-info span.contact-label {
    display: block;
    font-size: 11.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #9ca3af;
    margin-bottom: 3px;
}

.footer-contact-info span.contact-val {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: #1f2937;
    line-height: 1.4;
}

.footer-contact-info span.contact-val a {
    color: #1f2937;
    text-decoration: none;
    transition: color 0.25s ease;
}

.footer-contact-info span.contact-val a:hover {
    color: #c9931c;
}

/* --- MAIN FOOTER DETAIL --- */
.footer-hotel-dark .foot-detail {
    background: #08162b !important;
    padding: 70px 0 55px 0 !important;
}

.footer-hotel-dark .foot-detail h5 {
    font-family: 'Playfair Display', Georgia, serif !important;
    font-size: 21px !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px !important;
    color: #ffffff !important;
    text-transform: capitalize !important;
    margin: 0 0 20px 0 !important;
    position: relative;
    display: inline-block;
}

.footer-hotel-dark .foot-detail h5::after {
    content: '';
    display: block;
    width: 36px;
    height: 2px;
    background: #E9B947;
    margin-top: 8px;
    border-radius: 2px;
}

/* Column 1: About */
.footer-hotel-dark .foot-detail .about-pearl p.footer-about-text,
.footer-about-col p.footer-about-text {
    font-size: 14.5px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.72);
    margin: 0 0 26px 0 !important;
}

.footer-whatsapp-badge {
    margin-top: 20px !important;
    display: inline-flex !important;
    align-items: center;
    gap: 10px;
    background: rgba(37, 211, 102, 0.15);
    border: 1px solid rgba(37, 211, 102, 0.35);
    padding: 11px 22px;
    border-radius: 30px;
    color: #25D366 !important;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none !important;
    transition: all 0.3s ease;
}

.footer-whatsapp-badge:hover {
    background: #25D366;
    color: #ffffff !important;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
    transform: translateY(-2px);
}

/* Column 2: Newsletter & Social */
.footer-newsletter-col p.newsletter-subtext {
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
    margin: 0 0 16px 0;
}

.footer-newsletter-form {
    position: relative;
    margin-bottom: 30px;
}

.footer-newsletter-wrap {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.08);
    border: 1.5px solid rgba(255, 255, 255, 0.16);
    border-radius: 40px;
    padding: 4px 4px 4px 18px;
    transition: all 0.3s ease;
}

.footer-newsletter-wrap:focus-within {
    border-color: #E9B947;
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 0 16px rgba(233, 185, 71, 0.2);
}

.footer-newsletter-wrap input[type="text"] {
    background: transparent !important;
    border: none !important;
    color: #ffffff !important;
    font-size: 13.5px !important;
    width: 100% !important;
    height: 42px !important;
    padding: 0 !important;
    float: none !important;
    outline: none !important;
}

.footer-newsletter-wrap input[type="text"]::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.footer-newsletter-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #E9B947 !important;
    color: #111827 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    flex-shrink: 0;
    transition: all 0.3s ease;
    text-decoration: none !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
}

.footer-newsletter-btn:hover {
    background: #ffffff !important;
    color: #111827 !important;
    transform: scale(1.06);
}

.footer-hotel-dark .foot-detail .newsletetr .success_msg {
    color: #22c55e;
    font-size: 13.5px;
    margin-bottom: 12px;
    font-weight: 600;
}

/* Get In Touch contact list (replaces newsletter) */
.footer-getintouch {
    list-style: none;
    padding: 0;
    margin: 0 0 26px 0;
}

.footer-getintouch li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.footer-getintouch li svg {
    flex-shrink: 0;
    color: #E9B947;
}

.footer-getintouch li a,
.footer-getintouch li span {
    color: #d1d5db !important;
    font-size: 14.5px !important;
    display: inline !important;
    background: transparent !important;
    padding: 0 !important;
    height: auto !important;
    width: auto !important;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-getintouch li a:hover {
    color: #E9B947;
}

/* Social Icons */
.footer-social-section h6 {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #9ca3af;
    margin: 0 0 14px 0;
}

.footer-social-list {
    display: flex;
    gap: 12px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-social-list li a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #ffffff;
    font-size: 16px;
    text-decoration: none !important;
    transition: all 0.3s ease;
}

.footer-social-list li a:hover {
    background: #E9B947;
    border-color: #E9B947;
    color: #111827;
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(233, 185, 71, 0.3);
}

/* Column 3: Quick Links */
.footer-hotel-dark .foot-detail .useful-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-hotel-dark .foot-detail .useful-links ul li {
    margin: 0 0 12px 0 !important;
}

.footer-hotel-dark .foot-detail .useful-links ul li a {
    font-size: 14.5px !important;
    color: rgba(255, 255, 255, 0.75) !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px;
    text-decoration: none !important;
    transition: all 0.25s ease !important;
}

.footer-hotel-dark .foot-detail .useful-links ul li a svg {
    color: #E9B947;
    transition: transform 0.25s ease;
}

.footer-hotel-dark .foot-detail .useful-links ul li a:hover {
    color: #E9B947 !important;
    transform: translateX(4px);
}

.footer-hotel-dark .foot-detail .useful-links ul li a:hover svg {
    transform: translateX(2px);
}

/* --- COPYRIGHTS BAR --- */
.footer-hotel-dark .copyrights {
    background: #040d1a !important;
    border-top: 1px solid rgba(255, 255, 255, 0.06) !important;
    padding: 22px 0 !important;
}

.copyrights-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.copyrights-text {
    margin: 0 !important;
    font-size: 13.5px !important;
    color: rgba(255, 255, 255, 0.6) !important;
    line-height: 1.5;
}

.copyrights-text strong {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
}

.developer-text {
    margin: 0 !important;
    font-size: 13px !important;
    color: rgba(255, 255, 255, 0.5) !important;
    line-height: 1.5;
}

.developer-text a {
    color: #E9B947;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.25s ease;
}

.developer-text a:hover {
    color: #ffffff;
    text-decoration: underline;
}

/* --- RESPONSIVE ADJUSTMENTS --- */
@media (max-width: 991px) {
    .footer-contact-row {
        gap: 20px;
    }
    .footer-contact-card {
        width: 100%;
        background: #ffffff;
        border: 1px solid #efe8da;
    }
    .footer-hotel-dark .foot-detail .useful-links {
        margin-top: 40px !important;
    }
    .footer-newsletter-col {
        margin-top: 40px;
    }
}

@media (max-width: 767px) {
    .copyrights-flex {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }
    .copyrights-text,
    .developer-text {
        text-align: center;
        width: 100%;
    }
    .footer-hotel-dark .foot-detail {
        padding: 50px 0 40px 0 !important;
    }
}

/* --- STICKY WHATSAPP BUTTON --- */
.sticky-whatsapp-btn {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 60px;
    height: 60px;
    background: #25d366;
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: #ffffff !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45), 0 2px 6px rgba(0, 0, 0, 0.15);
    z-index: 999999;
    text-decoration: none !important;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.sticky-whatsapp-btn:hover {
    transform: scale(1.1) translateY(-3px);
    box-shadow: 0 10px 28px rgba(37, 211, 102, 0.6), 0 4px 10px rgba(0, 0, 0, 0.2);
    color: #ffffff !important;
}

.sticky-whatsapp-btn svg {
    width: 32px;
    height: 32px;
    fill: #ffffff;
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease;
}

.sticky-whatsapp-btn:hover svg {
    transform: rotate(5deg) scale(1.05);
}

/* Pulsing radar ring */
.whatsapp-pulse {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(37, 211, 102, 0.4);
    z-index: 1;
    animation: wa-pulse-animation 2.2s infinite ease-out;
    pointer-events: none;
}

@keyframes wa-pulse-animation {
    0% {
        transform: scale(0.95);
        opacity: 0.8;
    }
    70% {
        transform: scale(1.4);
        opacity: 0;
    }
    100% {
        transform: scale(1.4);
        opacity: 0;
    }
}

/* Interactive Hover Tooltip */
.whatsapp-tooltip {
    position: absolute;
    right: 72px;
    background: #08162b;
    color: #ffffff;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 13px;
    font-weight: 600;
    padding: 7px 14px;
    border-radius: 20px;
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px);
    transition: all 0.25s ease;
}

.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -5px;
    transform: translateY(-50%);
    border-width: 5px 0 5px 6px;
    border-style: solid;
    border-color: transparent transparent transparent #08162b;
}

.sticky-whatsapp-btn:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

/* Ensure Back-To-Top button is stacked nicely above WhatsApp */
.cd-top {
    bottom: 95px !important;
    right: 32px !important;
    z-index: 99999 !important;
}

/* Mobile slide-out menu brand color */
.mm-menu.mm-offcanvas {
    background: #874933 !important;
}

/* Mobile hamburger button brand color */
#page .header a[href="#menu"] {
    background-color: #874933 !important;
}

@media (max-width: 767px) {
    .sticky-whatsapp-btn {
        bottom: 20px;
        right: 20px;
        width: 54px;
        height: 54px;
    }
    .sticky-whatsapp-btn svg {
        width: 28px;
        height: 28px;
    }
    .whatsapp-tooltip {
        display: none !important;
    }
    .cd-top {
        bottom: 84px !important;
        right: 25px !important;
    }
}
