/* Responsive Styles for Mana on Earth Website */

/* Base responsive adjustments */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

img {
    max-width: 100%;
    height: auto;
}

/* Medium screens (tablets and small laptops) */
@media screen and (min-width: 769px) and (max-width: 1024px) {
    .container {
        padding: 0 20px;
    }
    
    h1 {
        font-size: 2.2rem;
    }

    .hero h1 .tagline {
        font-size: 1.4rem;
        max-width: 80%;
        margin-top: 15px;
        margin-bottom: 25px;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    /* Adjust service cards and gallery items for medium screens */
    .services-grid, 
    .gallery-grid {
        gap: 20px;
    }
    
    .project-card {
        margin-bottom: 20px;
    }
    
    /* Ensure header alignment is consistent */
    header .container {
        padding: 0 20px;
    }
    
    .header-contact {
        margin-left: 15px;
    }
}

/* Small screens (mobile devices) */
@media screen and (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    h1 {
        font-size: 2rem;
    }

    .hero h1 .tagline {
        font-size: 1.2rem;
        margin-top: 12px;
        margin-bottom: 20px;
        line-height: 1.4;
        max-width: 90%;
    }
    
    h2 {
        font-size: 1.7rem;
    }
    
    h3 {
        font-size: 1.3rem;
    }
    
    /* Logo text */
    .logo-text {
        font-size: 1rem;
        padding: 0 0.25rem;
    }
    
    /* Enhance mobile navigation */
    .mobile-menu-btn {
        padding: 8px;
    }
    
    .mobile-menu-btn span {
        height: 3px;
        margin-bottom: 5px;
    }
    
    .nav-menu {
        padding: 20px 0;
    }
    
    .nav-menu li {
        padding: 12px 0;
    }
    
    /* Header spacing adjustments */
    header .container {
        justify-content: space-between;
    }
    
    .header-contact {
        margin-left: 10px;
    }
    
    /* Adjust touch targets */
    .btn {
        min-width: 44px;
        min-height: 44px;
        padding: 10px 20px;
    }
    
    /* Form adjustments */
    .form-group {
        margin-bottom: 20px;
    }
    
    input, 
    select, 
    textarea {
        padding: 12px 15px;
    }
    
    /* Contact form file upload */
    .file-upload-container {
        margin-bottom: 15px;
    }
    
    .image-preview {
        width: 80px;
        height: 80px;
    }
}

/* Very small screens (small mobile devices) */
@media screen and (max-width: 480px) {
    h1 {
        font-size: 1.8rem;
    }

    .hero h1 .tagline {
        font-size: 1rem;
        margin-top: 10px;
        margin-bottom: 18px;
        line-height: 1.4;
        max-width: 95%;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    h3 {
        font-size: 1.2rem;
    }
    
    p {
        font-size: 0.95rem;
    }
    
    /* Logo text */
    .logo-text {
        font-size: 0.95rem;
        padding: 0 0.15rem;
    }
    
    /* Header adjustments */
    .header-contact {
        display: flex;
        margin-left: 5px; /* Reduced margin for very small screens */
    }
    
    .call-btn {
        padding: 6px 10px; /* Reduced padding for very small screens */
        font-size: 0.9rem; /* Slightly smaller font */
    }
    
    /* Hero section */
    .hero-content {
        padding: 20px;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    /* Service images & features */
    .service-image {
        height: 200px;
    }
    
    /* Gallery adjustments */
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    
    .gallery-buttons {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }
    
    /* Contact page */
    .contact-form button {
        padding: 12px 20px;
    }
    
    .contact-info-item {
        margin-bottom: 20px;
    }
    
    .contact-info-icon {
        width: 40px;
        height: 40px;
    }
    
    /* File upload */
    .image-preview-container {
        gap: 5px;
    }
    
    .image-preview {
        width: 70px;
        height: 70px;
    }
}

/* Large screens (large desktops) */
@media screen and (min-width: 1600px) {
    .container {
        max-width: 1400px;
    }
    
    h1 {
        font-size: 3rem;
    }
    
    h2 {
        font-size: 2.4rem;
    }
    
    /* Gallery enhancements */
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    }
    
    /* Services grid */
    .services-grid {
        gap: 40px;
    }
    
    /* Ensure header alignment is consistent on large screens */
    .header-contact {
        margin-left: 25px;
    }
} 