/* ==========================================
   ELYSIA FOREST RETREAT - RESPONSIVE STYLES (responsive.css)
   Mobile-First Adaptations & Breakpoints
   ========================================== */

/* ==========================================
   1. MOBILE ONLY (max-width: 767.98px)
   ========================================== */
@media (max-width: 767.98px) {
    /* Typography adjustments */
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
        margin-bottom: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .py-6 {
        padding-top: 3.5rem;
        padding-bottom: 3.5rem;
    }
    
    /* Hero CTA stacking on small screens */
    .hero-cta {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        max-width: 280px;
    }
    
    .hero-cta .btn {
        margin-right: 0 !important;
        width: 100%;
    }
    
    /* Booking Bar Mobile Styling */
    .booking-bar-container {
        margin-top: -30px;
    }
    
    .booking-bar {
        padding: 1.5rem;
        border-radius: 16px;
    }
    
    .booking-bar label {
        font-size: 0.75rem;
    }
    
    /* Dwellings Horizontal Swipeable Cards */
    .dwellings-row {
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
    }
    
    .dwellings-row > div {
        scroll-snap-align: start;
    }
    
    .dwelling-card {
        max-width: 100%;
    }
    
    /* Testimonials quote size */
    .review-text {
        font-size: 1.1rem;
        line-height: 1.45;
    }
    
    /* Map scaling */
    .map-container {
        height: 250px;
        margin-top: 2.5rem;
    }
    
    .mt-6 {
        margin-top: 2.5rem;
    }
}

/* ==========================================
   2. MOBILE & TABLET (max-width: 991.98px)
   ========================================== */
@media (max-width: 991.98px) {
    /* Navbar styling when expanded */
    .navbar {
        background-color: rgba(31, 50, 37, 0.98) !important;
        backdrop-filter: blur(15px);
        padding: 0.8rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }
    
    .navbar-collapse {
        margin-top: 1rem;
        padding: 1rem 0;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
    }
    
    .navbar-nav .nav-link {
        padding: 0.8rem 0 !important;
        font-size: 0.95rem;
    }
    
    .btn-book-nav {
        margin-top: 1rem;
        width: 100%;
        text-align: center;
        display: block;
    }
    
    /* Floating experience badge alignment */
    .floating-experience-badge {
        bottom: 15px;
        right: 15px;
        padding: 1rem;
    }
    
    .floating-experience-badge .badge-num {
        font-size: 1.8rem;
    }
    
    .floating-experience-badge .badge-lbl {
        font-size: 0.65rem;
    }
}

/* ==========================================
   3. TABLET & UP (min-width: 768px)
   ========================================== */
@media (min-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    /* Desktop booking bar dividers */
    .booking-bar {
        padding: 1.5rem 2rem;
    }
    
    /* Grid adjustments for dwellings when not swiped */
    .dwellings-carousel-container {
        margin-left: 0;
        margin-right: 0;
    }
}

/* ==========================================
   4. DESKTOP & UP (min-width: 992px)
   ========================================== */
@media (min-width: 992px) {
    .hero-title {
        font-size: 3.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    /* Navbar hover animations */
    .navbar-nav .nav-link {
        position: relative;
    }
    
    .navbar-nav .nav-link::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 1rem;
        right: 1rem;
        height: 2px;
        background-color: var(--color-gold);
        transform: scaleX(0);
        transition: transform 0.3s ease;
    }
    
    .navbar-nav .nav-link:hover::after,
    .navbar-nav .nav-link.active::after {
        transform: scaleX(1);
    }
    
    /* Overlapping booking bar layout for desktop */
    .booking-bar-container {
        transform: translateY(50%);
        margin-top: -80px;
    }
    
    /* About section image offset styling */
    .about-image-wrapper::before {
        content: '';
        position: absolute;
        top: -15px;
        left: -15px;
        width: 100%;
        height: 100%;
        border: 2px solid var(--color-gold);
        border-radius: 40px 10px 40px 10px;
        z-index: -1;
        transition: var(--transition-smooth);
    }
    
    .about-image-wrapper:hover::before {
        transform: translate(8px, 8px);
    }
    
    /* Experience cards layout logic */
    .experience-card {
        height: 450px;
    }
    
    /* Disable swipe row horizontal scroll, turn to grid columns */
    .dwellings-row {
        overflow: visible !important;
        flex-wrap: wrap !important;
    }
    
    .dwellings-row > div {
        flex-shrink: 1 !important;
    }
}

/* ==========================================
   5. LARGE DESKTOP & UP (min-width: 1200px)
   ========================================== */
@media (min-width: 1200px) {
    .hero-title {
        font-size: 4.2rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .container {
        max-width: 1170px;
    }
}
