/* Responsive Design - Mobile First Approach */

/* Desktop adjustments */
@media (min-width: 1024px) {
    .section {
        padding: 100px 8%;
    }
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }

    nav {
        display: none;
    }

    /* Header adjustments */
    header {
        padding: 0.8rem 4%;
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .brand {
        flex: 1;
        min-width: 150px;
    }

    .brand img {
        height: 40px;
    }

    .nav-btns {
        gap: 10px;
    }

    .btn-book {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    /* Hero Section */
    #home {
        height: 85vh;
        min-height: 500px;
    }
    
    .hero-content {
        padding: 0 16px;
    }
    
    .hero-content h2 {
        font-size: 2.2rem;
        line-height: 1.2;
        margin-bottom: 15px;
    }

    .hero-content p {
        font-size: 1rem;
        max-width: 95%;
        margin: 0 auto 25px;
        line-height: 1.5;
    }
    
    .hero-content .btn-book {
        font-size: 0.95rem;
        padding: 14px 32px;
    }

    /* Sections */
    .section {
        padding: 60px 4%;
    }

    .title {
        margin-bottom: 40px;
    }
    
    .title h2 {
        font-size: 1.8rem;
        line-height: 1.3;
    }
    
    .title p {
        font-size: 0.95rem;
        margin-top: 10px;
        max-width: 90%;
        margin-left: auto;
        margin-right: auto;
    }

    /* Cards compact on mobile */
    .s-card {
        padding: 20px 14px;
    }
    
    .s-card i {
        font-size: 1.75rem;
        margin-bottom: 12px;
    }
    
    .s-card h3 {
        font-size: 0.9rem;
        margin-bottom: 6px;
    }
    
    .s-card p {
        font-size: 0.8rem;
        line-height: 1.4;
    }

    /* Gallery compact */
    .gallery-overlay {
        padding: 12px;
    }
    
    .gallery-overlay h3 {
        font-size: 0.85rem;
    }
    
    .gallery-overlay p {
        font-size: 0.75rem;
    }

    /* Testimonials compact */
    .testimonial-card {
        padding: 20px 14px;
    }
    
    .testimonial-card img {
        width: 60px !important;
        height: 60px !important;
    }
    
    .testimonial-text {
        font-size: 0.85rem;
    }
    
    .stars {
        font-size: 0.9rem;
    }

    /* Calculator */
    .calc-box {
        padding: 30px 20px;
        margin: 0;
        border-radius: var(--radius-2xl);
    }

    .total-display {
        font-size: 1.5rem;
        padding: 16px;
    }

    /* Footer */
    .footer {
        padding: 40px 4% 20px;
    }

    .footer-grid {
        text-align: center;
    }

    .social-icons {
        justify-content: center;
    }
}

/* Extra small screens */
@media (max-width: 480px) {
    body {
        font-size: 15px;
        line-height: 1.6;
    }
    
    /* Header adjustments */
    header {
        padding: 0.6rem 3%;
    }
    
    .brand img {
        height: 35px;
    }

    .mobile-menu-toggle,
    .dark-mode-toggle {
        font-size: 1rem;
        padding: 8px;
        min-width: 38px;
        min-height: 38px;
    }
    
    /* Hero Section */
    .hero-content h2 {
        font-size: 1.8rem;
        line-height: 1.2;
        margin-bottom: 12px;
    }
    
    .hero-content p {
        font-size: 0.9rem;
        margin-bottom: 20px;
    }
    
    .hero-content .btn-book {
        font-size: 0.9rem;
        padding: 12px 28px;
    }

    .section {
        padding: 40px 3%;
    }
    
    .title {
        margin-bottom: 30px;
    }
    
    .title h2 {
        font-size: 1.5rem;
        line-height: 1.3;
    }
    
    .title p {
        font-size: 0.85rem;
        max-width: 95%;
    }

    /* Even more compact cards */
    .s-card {
        padding: 16px 12px;
    }
    
    .s-card h3 {
        font-size: 0.85rem;
        margin-bottom: 4px;
    }
    
    .s-card p {
        font-size: 0.75rem;
        line-height: 1.4;
    }
    
    .s-card i {
        font-size: 1.5rem;
        margin-bottom: 10px;
    }

    .gallery-overlay h3 {
        font-size: 0.8rem;
    }
    
    .gallery-overlay p {
        font-size: 0.7rem;
    }

    .testimonial-card {
        padding: 16px 12px;
    }
    
    .testimonial-card img {
        width: 50px !important;
        height: 50px !important;
        margin-bottom: 12px !important;
    }
    
    .testimonial-text {
        font-size: 0.8rem;
        line-height: 1.4;
        margin-bottom: 12px;
    }
    
    .client-info strong {
        font-size: 0.9rem;
    }
    
    .client-info span {
        font-size: 0.75rem;
    }
    
    .stars {
        font-size: 0.8rem;
        margin-bottom: 12px;
    }

    .calc-box {
        padding: 24px 16px;
    }
    
    .calc-grid label {
        font-size: 0.9rem;
    }
    
    select, input {
        padding: 12px 14px;
        font-size: 0.9rem;
    }
    
    .total-display {
        font-size: 1.3rem;
        padding: 14px;
    }
    
    .calc-box > p {
        font-size: 0.75rem;
        margin-top: 12px;
    }

    /* Footer */
    .footer {
        padding: 30px 3% 15px;
    }
    
    .f-col h4 {
        font-size: 1rem;
        margin-bottom: 16px;
    }
    
    .f-col p,
    .f-col ul li {
        font-size: 0.8rem;
        line-height: 1.5;
    }
    
    .social-icons a {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }
    
    .footer-bottom {
        font-size: 0.75rem;
        margin-top: 20px;
        padding-top: 15px;
    }
}

/* Smooth scroll adjustments for different devices */
@media (max-width: 768px) {
    html {
        scroll-padding-top: 70px; /* Smaller header on mobile */
    }
}

@media (max-width: 480px) {
    html {
        scroll-padding-top: 60px; /* Even smaller header on small mobile */
    }
}

/* Mobile adjustments for scroll to top button */
@media (max-width: 768px) {
    .scroll-top-btn {
        bottom: 16px;
        right: 16px;
        width: 44px;
        height: 44px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .scroll-top-btn {
        bottom: 12px;
        right: 12px;
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }
}

/* About section mobile adjustments */
@media (max-width: 768px) {
    #about > div {
        flex-direction: column;
        gap: 30px !important;
    }
    
    #about > div > div {
        min-width: 100% !important;
    }
    
    #about h2 {
        font-size: 1.8rem !important;
    }
    
    #about img {
        box-shadow: 12px 12px 0 var(--primary) !important;
        border-radius: var(--radius-2xl) !important;
    }
    
    #about > div > div:last-child > div {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }
    
    #about > div > div:last-child > div > div {
        padding: 16px !important;
        border-radius: var(--radius-xl) !important;
        background: var(--glass-bg) !important;
        box-shadow: var(--shadow-sm) !important;
    }
}
