/* 
=============================================
Suối Camp - Responsive CSS
Author: [Author Name]
Version: 1.0
=============================================
*/

/*=============================================
Table of Contents:
1. Extra large devices (1200px and up)
2. Large devices (992px to 1199px)
3. Medium devices (768px to 991px)
4. Small devices (576px to 767px)
5. Extra small devices (575px and below)
=============================================*/

/*=============================================
1. Extra large devices (1200px and up)
=============================================*/
@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
    
    /* Header */
    .navbar-expand-lg .navbar-nav .nav-link {
        padding: 1rem 1.25rem;
    }
    
    /* Hero section */
    .hero-title {
        font-size: 3.5rem;
    }
    
    .hero-subtitle {
        font-size: 2rem;
    }
    
    /* Section spacing */
    .section-spacing {
        padding: 6rem 0;
    }
    
    /* Feature cards */
    .feature-card {
        padding: 2.5rem;
    }
    
    /* Footer */
    .site-footer {
        padding: 5rem 0 2rem;
    }
}

/*=============================================
2. Large devices (992px to 1199px)
=============================================*/
@media (min-width: 992px) and (max-width: 1199px) {
    /* Header */
    .navbar-expand-lg .navbar-nav .nav-link {
        padding: 1rem;
    }
    
    /* Hero section */
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.8rem;
    }
    
    .hero-description {
        max-width: 500px;
    }
    
    /* Feature cards */
    .feature-card {
        padding: 2rem;
    }
    
    /* About sections */
    .about-image {
        height: 100%;
    }
    
    /* Pricing */
    .pricing-card {
        padding: 2rem;
    }
    
    /* Contact */
    .contact-card {
        padding: 1.5rem;
    }
}

/*=============================================
3. Medium devices (768px to 991px) - Tablets Landscape
=============================================*/
@media (min-width: 768px) and (max-width: 991px) {
    /* Header - Tablet landscape */
    .site-header {
        padding: 15px 0;
    }
    
    .site-header.scrolled {
        padding: 12px 0;
    }
    
    .navbar-brand .logo {
        height: 42px;
    }
    
    .navbar-toggler {
        padding: 0.45rem 0.75rem;
    }
    
    .navbar-collapse {
        background: rgba(255, 255, 255, 0.95) !important;
    }
    
    .navbar-light .navbar-nav .nav-link {
        font-size: 16px;
        padding: 14px 22px;
        color: var(--text-color) !important;
    }
    
    /* Hero section */
    .hero-section {
        height: 80vh;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.5rem;
    }
    
    .hero-description {
        max-width: 450px;
        font-size: 1rem;
    }
    
    /* Section spacing */
    .section-spacing {
        padding: 4rem 0;
    }
    
    /* Feature cards */
    .feature-card {
        padding: 1.5rem;
    }
    
    .feature-icon {
        width: 70px;
        height: 70px;
        margin-bottom: 1.25rem;
    }
    
    .feature-icon i {
        font-size: 1.75rem;
    }
    
    /* About sections */
    .about-content h2 {
        font-size: 1.8rem;
    }
    
    .about-image {
        margin-bottom: 2rem;
    }
    
    /* Gallery */
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    }
    
    /* Accommodation */
    .accommodation-item {
        margin-bottom: 3rem;
    }
    
    .accommodation-image {
        margin-bottom: 1.5rem;
    }
    
    /* Pricing */
    .pricing-card {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }
    
    /* Contact */
    .contact-card {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .map-container {
        height: 350px;
        margin-bottom: 2rem;
    }
    
    /* Footer */
    .site-footer {
        padding: 4rem 0 2rem;
    }
    
    .footer-widget {
        margin-bottom: 2rem;
    }
}

/*=============================================
4. Small devices (576px to 767px) - Tablets Portrait
=============================================*/
@media (min-width: 576px) and (max-width: 767px) {
    /* Header - Tablet optimized */
    .site-header {
        padding: 10px 0;
    }
    
    .site-header.scrolled {
        padding: 8px 0;
    }
    
    .navbar-brand .logo {
        height: 38px;
    }
    
    .navbar-toggler {
        padding: 0.4rem 0.7rem;
        font-size: 1.2rem;
    }
    
    .navbar-collapse {
        margin-top: 12px;
        border-radius: 15px;
        background: rgba(255, 255, 255, 0.96) !important;
    }
    
    .navbar-light .navbar-nav .nav-link {
        font-size: 17px;
        padding: 16px 25px;
        color: var(--text-color) !important;
    }
    
    .navbar-light .navbar-nav .nav-link i {
        margin-right: 10px;
        width: 22px;
    }
    
    /* Hero section */
    .hero-section {
        height: 70vh;
        min-height: 500px;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.25rem;
    }
    
    .hero-description {
        max-width: 400px;
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-buttons .btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
    
    /* Section titles */
    .section-title {
        font-size: 1.8rem;
    }
    
    .section-title:after {
        width: 60px;
    }
    
    /* Section spacing */
    .section-spacing {
        padding: 3.5rem 0;
    }
    
    /* Page banner */
    .page-banner {
        padding: 120px 0 60px;
    }
    
    .page-banner h1 {
        font-size: 2rem;
    }
    
    /* Feature cards */
    .feature-card {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    /* About sections */
    .about-content h2 {
        font-size: 1.7rem;
    }
    
    .about-image,
    .glamping-image {
        margin-bottom: 2rem;
    }
    
    /* Gallery */
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
    
    /* Accommodation */
    .accommodation-item {
        margin-bottom: 2.5rem;
    }
    
    /* Activity */
    .activity-item {
        margin-bottom: 2.5rem;
    }
    
    /* Pricing */
    .pricing-card {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .pricing-header {
        padding: 1.5rem;
    }
    
    /* Contact */
    .contact-card {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .map-container {
        height: 300px;
        margin-bottom: 1.5rem;
    }
    
    /* Forms */
    .form-control {
        padding: 0.6rem 1rem;
    }
    
    .booking-form-wrapper,
    .contact-form-wrapper,
    .newsletter-box {
        padding: 1.5rem;
    }
    
    /* Footer */
    .site-footer {
        padding: 3rem 0 2rem;
    }
    
    .footer-widget {
        margin-bottom: 2rem;
    }
    
    .social-link {
        width: 35px;
        height: 35px;
    }
}

/*=============================================
5. Extra small devices (575px and below)
=============================================*/
/*=============================================
5. Extra small devices (575px and below) - Mobile First
=============================================*/
@media (max-width: 575px) {
    /* Container padding for mobile */
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    /* Header - Mobile First */
    .site-header {
        padding: 8px 0;
    }
    
    .site-header.scrolled {
        padding: 6px 0;
    }
    
    .navbar {
        padding: 0 !important;
    }
    
    .navbar-brand {
        padding: 8px 0;
    }
    
    .navbar-brand .logo {
        height: 32px;
        max-width: 120px;
    }
    
    .navbar-toggler {
        padding: 0.35rem 0.65rem;
        font-size: 1.1rem;
        border-radius: 10px;
        margin-left: auto;
    }
    
    .navbar-toggler-icon {
        width: 1.2em;
        height: 1.2em;
    }
    
    /* Enhanced mobile menu */
    .navbar-collapse {
        margin-top: 15px;
        margin-left: -15px;
        margin-right: -15px;
        border-radius: 0 0 15px 15px;
        background: rgba(255, 255, 255, 0.97) !important;
        backdrop-filter: blur(15px);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
        border-top: 2px solid var(--primary-color);
        animation: slideDown 0.3s ease-out;
    }
    
    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    .navbar-nav {
        padding: 1.5rem 1rem;
    }
    
    .navbar-light .navbar-nav .nav-link {
        font-size: 16px;
        padding: 15px 20px;
        margin: 3px 0;
        border-radius: 10px;
        color: var(--text-color) !important;
        background: rgba(248, 249, 250, 0.5);
        border-left: 4px solid transparent;
        transition: all 0.3s ease;
    }
    
    .navbar-light .navbar-nav .nav-link:hover,
    .navbar-light .navbar-nav .nav-link.active {
        background: rgba(60, 110, 113, 0.1) !important;
        border-left-color: var(--primary-color);
        color: var(--primary-color) !important;
        transform: translateX(8px);
        font-weight: 700;
    }
    
    .navbar-light .navbar-nav .nav-link i {
        margin-right: 8px;
        width: 20px;
    }
    
    /* Hero section - Mobile optimized */
    .hero-section {
        height: 65vh;
        min-height: 400px;
    }
    
    .hero-content {
        padding: 0 15px;
        text-align: center;
    }
    
    .hero-title {
        font-size: 1.6rem;
        line-height: 1.3;
        margin-bottom: 0.8rem;
        font-weight: 800;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1rem;
        opacity: 0.9;
    }
    
    .hero-description {
        max-width: 100%;
        font-size: 0.85rem;
        margin-bottom: 1.5rem;
        line-height: 1.5;
        opacity: 0.85;
    }
    
    .hero-buttons {
        display: flex;
        flex-direction: column;
        gap: 12px;
        align-items: center;
    }
    
    .hero-buttons .btn {
        padding: 0.7rem 1.5rem;
        font-size: 0.875rem;
        font-weight: 600;
        border-radius: 25px;
        width: 100%;
        max-width: 280px;
        margin: 0 !important;
    }
    
    .hero-buttons .btn-primary {
        background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
        border: none;
        box-shadow: 0 4px 15px rgba(60, 110, 113, 0.3);
    }
    
    .hero-buttons .btn-outline-light {
        background: rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(10px);
        border: 2px solid rgba(255, 255, 255, 0.3);
    }
    
    /* Section titles */
    .section-title {
        font-size: 1.6rem;
    }
    
    .section-title:after {
        width: 50px;
        height: 2px;
    }
    
    /* Section spacing */
    .section-spacing {
        padding: 3rem 0;
    }
    
    /* Page banner */
    .page-banner {
        padding: 100px 0 50px;
    }
    
    .page-banner h1 {
        font-size: 1.8rem;
    }
    
    /* Feature cards */
    .feature-card {
        padding: 1.2rem;
        margin-bottom: 1.5rem;
    }
    
    .feature-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 1rem;
    }
    
    .feature-icon i {
        font-size: 1.5rem;
    }
    
    /* About sections */
    .about-content h2 {
        font-size: 1.5rem;
    }
    
    .about-image,
    .glamping-image {
        margin-bottom: 1.5rem;
    }
    
    /* Gallery */
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 1rem;
    }
    
    /* Testimonials */
    .testimonial-card {
        padding: 1.2rem;
        margin-bottom: 1.5rem;
    }
    
    /* Accommodation */
    .accommodation-item {
        margin-bottom: 2rem;
    }
    
    .accommodation-details {
        padding: 1rem;
    }
    
    /* Activity */
    .activity-item {
        margin-bottom: 2rem;
    }
    
    .activity-details {
        padding: 1rem;
    }
    
    /* Pricing */
    .pricing-card {
        padding: 1.2rem;
        margin-bottom: 1.5rem;
    }
    
    .pricing-header {
        padding: 1.2rem;
    }
    
    .pricing-body {
        padding: 1.2rem;
    }
    
    .amount {
        font-size: 1.7rem;
    }
    
    /* Contact */
    .contact-card {
        padding: 1.2rem;
        margin-bottom: 1.5rem;
    }
    
    .contact-icon {
        font-size: 2.5rem;
        margin-bottom: 1.2rem;
    }
    
    .map-container {
        height: 250px;
        margin-bottom: 1.5rem;
    }
    
    /* Forms */
    .form-control {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }
    
    .booking-form-wrapper,
    .contact-form-wrapper,
    .newsletter-box {
        padding: 1.2rem;
    }
    
    /* Buttons */
    .btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
    
    /* Footer */
    .site-footer {
        padding: 3rem 0 1rem;
    }
    
    .site-footer h4 {
        font-size: 1.1rem;
        margin-bottom: 1.2rem;
    }
    
    .footer-logo {
        max-height: 50px;
        margin-bottom: 1rem;
    }
    
    .footer-widget {
        margin-bottom: 2rem;
    }
    
    .social-link {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
        margin-right: 8px;
    }
    
    /* FAQs */
    .accordion-button {
        padding: 1rem;
        font-size: 0.9rem;
    }
    
    .accordion-body {
        padding: 1rem;
        font-size: 0.9rem;
    }
}

/* Specific adjustments for phones in landscape mode */
@media (max-width: 767px) and (orientation: landscape) {
    .hero-section {
        height: 100vh;
    }
    
    .hero-content {
        padding-top: 80px;
    }
}

/* Adjust for screens with height less than 600px */
@media (max-height: 600px) {
    .hero-section {
        min-height: 450px;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-description {
        margin-bottom: 1rem;
    }
    
    .page-banner {
        padding: 100px 0 40px;
    }
}

/* Ensure proper font rendering for Vietnamese characters on mobile devices */
body, h1, h2, h3, h4, h5, h6 {
    font-family: 'Roboto', 'Arial', 'Helvetica Neue', Helvetica, Tahoma, Verdana, sans-serif;
}