/* ============================================
   WeBook Maldives - Mobile Optimization CSS
   ============================================ */

/* ---- Global Mobile Fixes ---- */
@media (max-width: 767px) {
    /* Better text readability on mobile */
    body {
        font-size: 15px;
        overflow-x: hidden;
    }

    /* Prevent horizontal scroll */
    .container-fluid,
    .container {
        padding-left: 15px;
        padding-right: 15px;
        overflow-x: hidden;
    }

    /* Fix images overflowing on mobile */
    img {
        max-width: 100%;
        height: auto;
    }

    /* ---- Header Mobile ---- */
    .header-1 .container-fluid {
        padding-left: 10px;
        padding-right: 10px;
    }

    .header-logo-2 img,
    .header-logo img {
        max-width: 120px !important;
    }

    .header-button .theme-btn {
        padding: 8px 16px;
        font-size: 13px;
    }

    .search-widget {
        display: none !important;
    }

    /* ---- Breadcrumb Mobile ---- */
    .breadcrumb-wrapper-3,
    .breadcrumb-wrapper {
        min-height: 200px !important;
        padding: 30px 0 !important;
    }

    .breadcrumb-sub-title h1 {
        font-size: 28px !important;
        line-height: 1.3 !important;
    }

    .breadcrumb-items li {
        font-size: 14px !important;
    }

    /* ---- Section Padding ---- */
    .section-padding {
        padding: 40px 0 !important;
    }

    /* ---- About Maldives Page ---- */
    .about-section .row {
        margin-bottom: 30px !important;
    }

    .about-section .col-lg-6 img {
        margin-top: 20px;
        border-radius: 8px !important;
    }

    .about-section h2 {
        font-size: 24px !important;
        margin-bottom: 15px !important;
    }

    .about-section p.text {
        font-size: 14px !important;
        line-height: 1.7 !important;
    }

    /* ---- FAQ Page ---- */
    .faq-section .accordion-header button {
        font-size: 14px !important;
        padding: 15px 18px !important;
    }

    .faq-section .accordion-body {
        font-size: 14px !important;
        padding: 15px 18px !important;
    }

    .faq-section .section-title h2 {
        font-size: 24px !important;
    }

    /* ---- Contact Page ---- */
    .conatct-us-section-3 .premium-contact-box {
        padding: 20px !important;
    }

    .form-floating-custom input,
    .form-floating-custom textarea {
        padding: 14px 16px !important;
        font-size: 14px !important;
    }

    .btn-premium-submit {
        padding: 14px 24px !important;
        font-size: 14px !important;
    }

    .contact-us-content h2 {
        font-size: 24px !important;
    }

    /* Map section responsive */
    .map-section .googpemap iframe {
        width: 100% !important;
        height: 300px !important;
    }

    /* ---- Contact Section (CTA) ---- */
    .contact-section .contact-image img {
        max-height: 300px;
        object-fit: cover;
        border-radius: 8px;
    }

    .contact-content h2 {
        font-size: 24px !important;
    }

    /* ---- Footer Mobile ---- */
    .footer-section {
        padding-top: 40px !important;
    }

    .footer-widget-wrapper .row > div {
        margin-bottom: 25px;
    }

    .single-footer-widget .wid-title h4 {
        font-size: 18px;
        margin-bottom: 10px;
    }

    .single-footer-widget .list-area li {
        margin-bottom: 8px;
    }

    .single-footer-widget .list-area li a {
        font-size: 14px;
    }

    .footer-content p {
        font-size: 14px;
    }

    .social-icon a {
        width: 36px !important;
        height: 36px !important;
        line-height: 36px !important;
    }

    .footer-bottom .footer-wrapper {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .footer-bottom .text-item {
        flex-direction: column;
        gap: 10px;
    }

    .footer-bottom .text-item p {
        font-size: 13px !important;
    }

    /* ---- Tour/Resort Cards ---- */
    .tour-card,
    .package-card {
        margin-bottom: 20px;
    }

    /* ---- Gallery ---- */
    .gallery-items img {
        height: auto !important;
    }
}

/* ---- Tablet Adjustments ---- */
@media (min-width: 768px) and (max-width: 991px) {
    .breadcrumb-sub-title h1 {
        font-size: 34px !important;
    }

    .section-padding {
        padding: 50px 0 !important;
    }

    .about-section h2 {
        font-size: 26px !important;
    }

    .footer-widget-wrapper .row > div {
        margin-bottom: 30px;
    }

    .map-section .googpemap iframe {
        height: 350px !important;
    }
}

/* ---- Small phones ---- */
@media (max-width: 375px) {
    .breadcrumb-sub-title h1 {
        font-size: 22px !important;
    }

    .header-logo-2 img,
    .header-logo img {
        max-width: 100px !important;
    }

    .header-button .theme-btn {
        padding: 6px 12px;
        font-size: 12px;
    }

    .about-section h2,
    .faq-section .section-title h2,
    .contact-us-content h2,
    .contact-content h2 {
        font-size: 20px !important;
    }
}
