/* ========================================================================
   Responsive Design for Book Your Lodge (Tablet & Phone)
   ======================================================================== */

/* ---------------------------------------------------------
   Global Overrides & Overflow Fix
   --------------------------------------------------------- */
html, body {
    overflow-x: hidden;
    width: 100%;
}
.page-wrapper {
    overflow-x: hidden;
}

/* ---------------------------------------------------------
   General Typography & Containers
   --------------------------------------------------------- */
@media (max-width: 1199px) {
    .auto-container, .container {
        padding-left: 20px;
        padding-right: 20px;
    }
}

@media (max-width: 991px) {
    /* Section Titles */
    .sec-title h2 {
        font-size: 32px;
        line-height: 1.2;
    }
    .sec-title p {
        font-size: 15px;
    }
    
    .sec-title h3 {
        font-size: 24px;
    }
    
    /* Buttons */
    .theme-btn.btn-style-two {
        padding: 12px 24px;
        font-size: 14px;
    }
    .card-btn {
        padding: 10px 20px;
        font-size: 14px;
    }
}

@media (max-width: 767px) {
    /* =========================================================
       GLOBAL MOBILE NORMALIZATION
       ========================================================= */
    
    /* 1. Consistent Section Spacing */
    section, 
    .management-process-section, 
    .invest-section, 
    .our-services-section, 
    .testimonial-section,
    .blog-section {
        padding-top: 50px !important;
        padding-bottom: 50px !important; 
    }
    
    /* Respect utility classes that remove padding */
    section.pb-0, .pb-0 {
        padding-bottom: 0 !important;
    }
    section.pt-0, .pt-0 {
        padding-top: 0 !important;
    }

    /* 2. Consistent Title Sizing & Spacing */
    h1,
    h2, 
    .sec-title h1,
    .sec-title h2, 
    .section-headline, 
    .banner-section-two .inner-column .title {
        font-size: 26px !important;
        line-height: 1.3 !important;
        margin-bottom: 15px !important;
        word-wrap: break-word;
        padding: 0 10px;
    }

    /* 3. Consistent Paragraph Sizing & Spacing */
    p, 
    .text, 
    .section-intro, 
    .sec-title p, 
    .banner-section-two .inner-column .text {
        font-size: 15px !important;
        line-height: 1.6 !important;
        margin-bottom: 25px !important;
        padding: 0 10px;
    }

    /* Reset paragraph margins inside cards */
    .pain-point-card p, 
    .process-card p, 
    .metric-card p, 
    .blog-card p, 
    .highlight-item p {
        margin-bottom: 0 !important;
        padding: 0 !important;
    }

    /* 4. Unified Button Spacing */
    .btn-box, .cta-button, .theme-btn.btn-style-two {
        margin-top: 5px !important;
    }

    /* =========================================================
       SPECIFIC OVERRIDES
       ========================================================= */

    .sec-title .sub-title {
        font-size: 12px;
        letter-spacing: 1px;
    }
    
    /* Banner Section */
    .banner-section-two {
        padding: 100px 0 50px !important; /* Hero needs slightly more top padding */
    }
    .page-title {
        padding: 100px 0 60px !important;
    }
    .banner-section-two .inner-column .title {
        font-size: 38px !important;
        line-height: 1.25 !important;
        margin-bottom: 20px;
        padding: 0 10px;
    }
    .banner-section-two .inner-column .text {
        font-size: 16px !important;
        line-height: 1.6 !important;
        padding: 0 15px;
        margin-bottom: 30px;
    }
    .banner-section-two .content-column .offer-text .star-rating {
        font-size: 20px;
        margin-bottom: 15px;
    }
    .banner-section-two .btn-box {
        margin-top: 10px;
    }
    
    /* Floating Section */
    .floating-section {
        padding: 15px 0 !important;
        margin: 0 !important;
        height: auto !important;
    }
    .floating-strip {
        gap: 20px !important;
        padding: 0 !important;
    }
    .floating-strip span {
        font-size: 13px !important;
        padding: 4px 15px !important;
        margin: 0 !important;
        line-height: 1 !important;
    }

    /* What We Do Blocks */
    .service-block-seven {
        margin-bottom: 30px;
    }
    .service-block-seven .inner-box {
        padding: 20px;
    }
    .service-block-seven .title {
        font-size: 20px;
    }

    /* Buttons & Links */
    .theme-btn.btn-style-two {
        padding: 12px 20px !important;
        font-size: 13px !important;
        white-space: normal !important;
        line-height: 1.4 !important;
        max-width: 90vw;
    }
    
    /* Pain Point Cards (Unlock Section) */
    .pain-point-card {
        padding: 15px;
    }
    .pain-title {
        font-size: 16px;
    }
    .pain-desc {
        font-size: 13px;
    }
    .familiar-prompt {
        font-size: 18px;
        margin-bottom: 20px;
    }
    
    /* Images inside sections */
    .photo-side {
        margin-bottom: 30px;
    }
    .photo-side img, .image-side img {
        width: 100%;
        height: auto;
        border-radius: 10px;
    }

    /* CTA Banners */
    .cta-banner {
        flex-direction: column;
        text-align: center;
        gap: 15px;
        padding: 20px;
        margin-top: 30px;
    }
    .cta-text {
        font-size: 18px;
    }

    /* Metrics Section */
    .metric-card {
        padding: 15px;
    }
    .metric-number {
        font-size: 24px;
    }
    .metric-desc {
        font-size: 13px;
    }
    
    /* Process Section (Testimonials) */
    .process-card {
        padding: 20px;
    }
    .step-number {
        font-size: 30px;
    }
    .step-title {
        font-size: 18px;
    }

    /* Invest Section */
    .invest-section .highlight-list {
        margin-top: 20px;
        margin-bottom: 30px;
        grid-template-columns: 1fr;
    }
    .highlight-item {
        flex-direction: row;
        align-items: center;
        gap: 15px;
        padding: 15px;
    }
    .highlight-icon i {
        font-size: 30px !important;
    }
    .highlight-text {
        font-size: 15px;
    }
    
    /* Blog Cards */
    .blog-card {
        margin-bottom: 20px;
    }
    .card-title {
        font-size: 20px;
    }
    .card-excerpt {
        font-size: 14px;
    }
}

@media (max-width: 575px) {
    /* Global Adjustments for Small Phones */
    section, 
    .management-process-section, 
    .invest-section, 
    .our-services-section, 
    .testimonial-section,
    .blog-section {
        padding-top: 40px !important;
        padding-bottom: 40px !important;
    }

    section.pb-0, .pb-0 {
        padding-bottom: 0 !important;
    }
    section.pt-0, .pt-0 {
        padding-top: 0 !important;
    }

    h1,
    h2, 
    .sec-title h1,
    .sec-title h2, 
    .section-headline, 
    .banner-section-two .inner-column .title {
        font-size: 24px !important;
    }
    
    p, 
    .text, 
    .section-intro, 
    .sec-title p, 
    .banner-section-two .inner-column .text {
        font-size: 14px !important;
    }

    .banner-section-two {
        padding: 90px 0 40px !important;
    }
    .page-title {
        padding: 90px 0 40px !important;
    }
    
    .theme-btn.btn-style-two {
        padding: 10px 15px !important;
        font-size: 12px !important;
    }
    
    .floating-section {
        padding: 10px 0 !important;
    }
    .floating-strip span {
        font-size: 11px !important;
        padding: 4px 12px !important;
    }
    
    .metric-card {
        margin-bottom: 15px;
    }
}
