/* Mobile Responsive Styles */

/* Tablet and below */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    
    /* Typography adjustments */
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.5rem; }
    
    /* Contact hero section - account for header height */
    .contact-hero {
        padding-top: calc(var(--header-height) + 2rem) !important;
    }
    
    /* Page headers - account for header height */
    .page-header {
        padding-top: calc(var(--header-height) + 2rem) !important;
    }
    
    /* Hero section */
    .hero {
        padding: 4rem 0 4rem;
        text-align: center;
    }
    
    /* Grid adjustments */
    .grid-2,
    .grid-3 {
        grid-template-columns: 1fr;
    }
    
    /* Card adjustments */
    .card {
        padding: 1.5rem;
    }
    
    /* Button adjustments */
    .btn {
        display: block;
        text-align: center;
        margin-bottom: 1rem;
    }
    
    /* Footer adjustments */
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    /* Form adjustments */
    .form-input,
    .form-textarea {
        font-size: 16px; /* Prevents zoom on iOS */
    }
}

/* Mobile phones */
@media (max-width: 480px) {
    .container {
        padding: 0 0.75rem;
    }
    
    /* Further typography adjustments */
    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.25rem; }
    
    /* Section padding */
    .section {
        padding: 3rem 0;
    }
    
    .hero {
        padding: 3rem 0;
    }
    
    /* Card padding */
    .card {
        padding: 1rem;
    }
    
    /* Buttons */
    .btn {
        padding: 0.625rem 1.25rem;
        font-size: 0.9rem;
    }
}

/* Landscape orientation adjustments */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        padding: 2rem 0;
    }
    
    .section {
        padding: 2rem 0;
    }
}

/* Touch-friendly improvements */
@media (pointer: coarse) {
    .btn,
    .form-input {
        min-height: 44px; /* Minimum touch target size */
    }
}

/* Print styles */
@media print {
    .footer {
        display: none;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    .section {
        padding: 1rem 0;
    }
}
