/* Responsive Design - Mobile First */

/* Tablet Styles (768px and down) */
@media (max-width: 768px) {
    /* Navigation */
    .nav-links {
        display: none;
    }
    
    /* Show mobile menu button */
    .mobile-menu-btn {
        display: block !important;
    }
    
    .nav-container {
        padding: 0 1rem;
        height: auto;
        min-height: 90px; /* Increased to accommodate larger logo */
        align-items: center;
    }
    
    /* Ensure navigation stays on top */
    nav {
        height: auto;
        min-height: 90px; /* Increased to accommodate larger logo */
        z-index: 1000;
    }
    
    /* Keep logo same size as desktop - remove the height reduction */
    .logo {
        height: 90px; /* Keep same as desktop instead of 40px */
    }
    
    /* Mobile Menu Responsive */
    .mobile-menu {
        width: 280px;
        right: -280px;
    }
    
    .mobile-menu-header .logo {
        height: 60px; /* You can adjust this for mobile menu if needed */
    }
    
    /* Hero Section - Fix for mobile navigation overlap */
    #home {
        padding-top: 7rem !important; /* Increased from 6rem to account for larger nav */
        background-attachment: scroll;
    }
    
    .hero-content {
        margin-top: 1rem;
        padding-top: 2rem; /* Add extra padding for hero title */
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
        margin-top: 1.5rem; /* Add margin to title */
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    .hero-images {
        grid-template-columns: 1fr;
        max-width: 300px;
    }
    
    /* About Section */
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    /* Services Section */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    /* Contact Section */
    .contact-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .additional-info {
        grid-template-columns: 1fr;
    }
    
    .checkbox-group {
        grid-template-columns: 1fr;
    }
    
    /* Reviews Section */
    .reviews-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .review-card {
        height: auto;
        min-height: 250px;
    }
    
    /* Gallery Section */
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    
    /* Footer */
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    /* Floating Buttons */
    .floating-buttons {
        bottom: 1rem;
        right: 1rem;
    }
    
    /* Sections */
    section {
        padding: 4rem 1rem 2rem;
    }
    
    /* Override section padding for home section only */
    section#home {
        padding: 7rem 1rem 2rem; /* Increased from 6rem to accommodate larger nav */
    }
    
    /* Section Headers */
    .section-header h2 {
        font-size: 2rem;
    }
}

/* Mobile Styles (480px and down) */
@media (max-width: 480px) {
    /* Navigation - keep larger nav for logo */
    .nav-container {
        min-height: 80px; /* Slightly smaller but still larger than before */
    }
    
    nav {
        min-height: 80px;
    }
    
    /* Keep logo large on mobile too */
    .logo {
        height: 80px; /* Slightly smaller than desktop but still large */
    }
    
    /* Mobile Menu */
    .mobile-menu {
        width: 260px;
        right: -260px;
    }
    
    /* Hero Section - Additional padding for smaller screens */
    #home {
        padding-top: 6.5rem !important; /* Adjusted for smaller mobile nav */
    }
    
    .hero-content {
        padding-top: 1rem;
    }
    
    .hero-content h1 {
        font-size: 2rem;
        margin-top: 1rem; /* Less margin on small mobile */
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    /* Services */
    .service-card {
        padding: 1.5rem;
    }
    
    .service-image {
        height: 150px;
    }
    
    /* Contact Form */
    .contact-form {
        padding: 1.5rem;
    }
    
    /* Reviews */
    .review-card {
        padding: 1.5rem;
    }
    
    /* Floating Buttons */
    .floating-btn {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    /* Sections */
    section {
        padding: 3rem 1rem 2rem;
    }
    
    /* Override section padding for home section only */
    section#home {
        padding: 6.5rem 1rem 2rem; /* Adjusted for mobile nav height */
    }
    
    /* Section Headers */
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .section-header p {
        font-size: 1rem;
    }
}

/* Large Desktop Styles (1200px and up) */
@media (min-width: 1200px) {
    .nav-container,
    section .section-content,
    .footer-container {
        max-width: 1400px;
    }
    
    .hero-content h1 {
        font-size: 4rem;
    }
    
    .section-header h2 {
        font-size: 3rem;
    }
}

/* Print Styles */
@media print {
    nav,
    .floating-buttons,
    .cta-button,
    .mobile-menu,
    .mobile-menu-overlay {
        display: none !important;
    }
    
    section {
        min-height: auto;
        page-break-inside: avoid;
    }
    
    .contact-form,
    .gallery-section {
        display: none !important;
    }
}