/* Mobile responsiveness & WhatsApp floating button fixes */

/* WhatsApp - Mobile optimized with safe areas */
.whatsapp-fixed {
    position: fixed;
    bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    right: calc(16px + env(safe-area-inset-right, 0px));
    z-index: 99999;
    width: 56px;
    height: 56px;
    min-width: 56px;
    min-height: 56px;
    background: #25D366 !important;
    border-radius: 50%;
    display: flex !important;
    align-items: center;
    justify-content: center;
    color: #fff !important;
    font-size: 28px;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.5);
    text-decoration: none !important;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    transition: transform 0.2s, box-shadow 0.2s;
}
.whatsapp-fixed:active {
    transform: scale(0.95);
}
@media (min-width: 768px) {
    .whatsapp-fixed {
        width: 60px;
        height: 60px;
        min-width: 60px;
        min-height: 60px;
        bottom: 24px;
        right: 24px;
        font-size: 32px;
    }
    .whatsapp-fixed:hover {
        transform: scale(1.1);
        box-shadow: 0 6px 24px rgba(37, 211, 102, 0.6);
    }
}

/* Section padding - responsive */
@media (max-width: 991px) {
    .section-padding {
        padding: 4rem 0 !important;
    }
}
@media (max-width: 576px) {
    .section-padding {
        padding: 3rem 0 !important;
    }
}

/* Hero - mobile typography & spacing */
@media (max-width: 991px) {
    .hero {
        min-height: 85vh;
        padding-top: 80px;
        padding-bottom: 40px;
    }
    .hero h1.display-4 {
        font-size: 1.75rem !important;
    }
    .hero .lead {
        font-size: 1rem;
    }
    .hero .btn-lg {
        padding: 12px 20px !important;
        font-size: 1rem;
    }
}
@media (max-width: 576px) {
    .hero {
        min-height: auto;
        padding-top: 100px;
        padding-bottom: 30px;
    }
    .hero h1.display-4 {
        font-size: 1.5rem !important;
    }
    .hero .d-flex.flex-wrap {
        flex-direction: column;
        gap: 12px !important;
    }
    .hero .btn {
        width: 100%;
        justify-content: center;
    }
}

/* Trust badges - stack better on small mobile */
@media (max-width: 576px) {
    .py-4.bg-light .row.g-4 > [class*="col-"] {
        margin-bottom: 8px;
    }
}

/* Section headings - scale down on mobile */
@media (max-width: 768px) {
    .display-5 {
        font-size: 1.75rem !important;
    }
}

/* Testimonial card - mobile padding */
@media (max-width: 768px) {
    .testimonial-card {
        padding: 1.5rem 1.25rem !important;
    }
    .testimonial-text {
        font-size: 1rem !important;
    }
}
@media (max-width: 576px) {
    .testimonial-card {
        padding: 1.25rem 1rem !important;
    }
    .testimonial-card .d-flex.gap-3 {
        flex-direction: column;
        align-items: center !important;
    }
}

/* CTA banner - stack on mobile */
@media (max-width: 768px) {
    .cta-banner .row {
        text-align: center !important;
    }
    .cta-banner .text-lg-end {
        text-align: center !important;
    }
    .cta-banner .btn {
        width: 100%;
    }
}

/* Navbar - ensure mobile menu works */
@media (max-width: 991px) {
    .navbar-collapse {
        padding-top: 1rem;
    }
    .navbar-nav .gap-3 {
        gap: 0.5rem !important;
    }
}

/* Attraction cards - better on small screens */
@media (max-width: 576px) {
    .attraction-card img {
        height: 100px !important;
    }
}

/* Page hero (rooms, about, etc.) */
@media (max-width: 768px) {
    .page-hero {
        min-height: 35vh !important;
        padding-top: 100px !important;
    }
    .page-hero h1 {
        font-size: 1.75rem !important;
    }
}

/* Footer - stack on mobile */
@media (max-width: 768px) {
    .footer .row.g-4 > [class*="col-"] {
        margin-bottom: 1rem;
    }
}

/* Prevent horizontal scroll */
html, body {
    overflow-x: hidden;
}

/* Container padding on mobile */
@media (max-width: 576px) {
    .container {
        padding-left: 16px;
        padding-right: 16px;
    }
}

/* Logo sizing handled in enhancements.css */
