/* Responsive Design */

/* Mobile First Approach - Base styles are for mobile */

/* Tablet (768px and up) */
@media (min-width: 768px) {
    .container {
        padding: 0 var(--space-6);
    }
    
    .section-title {
        font-size: var(--text-5xl);
    }
    
    .hero h1 {
        font-size: var(--text-6xl);
    }
    
    .hero-image {
        width: 200px;
        height: 200px;
    }
}

/* Desktop (1024px and up) */
@media (min-width: 1024px) {
    .nav-menu {
        gap: var(--space-10);
    }
    
    .overview-grid {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    }
}

/* Mobile Styles (767px and below) */
@media (max-width: 767px) {
    /* Navigation */
    .mobile-menu-button {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: var(--header-height);
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        align-items: center;
        padding: var(--space-4) 0;
        transform: translateY(-100%);
        transition: transform var(--transition-base);
        box-shadow: var(--shadow-lg);
        border-top: 1px solid var(--gray-200);
        gap: var(--space-4);
    }
    
    .nav-menu.active {
        transform: translateY(0);
    }
    
    .nav-link {
        padding: var(--space-3) var(--space-6);
        width: 100%;
        text-align: center;
        border-radius: var(--radius-base);
    }
    
    .nav-link:hover {
        background-color: var(--gray-50);
    }
    
    /* Hero Section */
    .hero {
        padding: calc(var(--header-height) + var(--space-8)) var(--space-4) var(--space-12);
        min-height: 90vh;
    }
    
    .hero h1 {
        font-size: var(--text-4xl);
    }
    
    .hero-subtitle {
        font-size: var(--text-lg);
    }
    
    .hero-description {
        font-size: var(--text-base);
    }
    
    .hero-image {
        width: 120px;
        height: 120px;
    }
    
    /* Sections */
    .section {
        padding: var(--space-12) 0;
    }
    
    .section-title {
        font-size: var(--text-3xl);
    }
    
    .section-subtitle {
        font-size: var(--text-lg);
    }
    
    /* Grids */
    .overview-grid {
        grid-template-columns: 1fr;
        gap: var(--space-6);
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: var(--space-8);
        text-align: center;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: var(--space-8);
    }
    
    .legal-grid {
        grid-template-columns: 1fr;
        gap: var(--space-6);
    }
    
    /* Cards */
    .overview-card {
        padding: var(--space-6);
    }
    
    .card-title {
        font-size: var(--text-lg);
    }
    
    .card-description {
        font-size: var(--text-base);
    }
    
    /* Buttons */
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
    }
    
    .contact-buttons .btn {
        width: 100%;
    }
    
    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--space-8);
        text-align: center;
    }
    
    /* Contact */
    .contact-item {
        flex-direction: column;
        text-align: center;
        gap: var(--space-2);
    }
    
    .contact-icon {
        width: 40px;
        height: 40px;
        font-size: var(--text-lg);
    }
    
    /* Legal */
    .legal-card {
        padding: var(--space-6);
    }
    
    .legal-content {
        font-size: var(--text-sm);
    }
}

/* Small Mobile (480px and below) */
@media (max-width: 480px) {
    .container {
        padding: 0 var(--space-4);
    }
    
    .nav-container {
        padding: 0 var(--space-4);
    }
    
    .hero {
        padding: calc(var(--header-height) + var(--space-6)) var(--space-3) var(--space-10);
    }
    
    .hero h1 {
        font-size: var(--text-3xl);
    }
    
    .hero-image {
        width: 100px;
        height: 100px;
    }
    
    .section-title {
        font-size: var(--text-2xl);
    }
    
    .overview-card,
    .legal-card,
    .contact-cta {
        padding: var(--space-4);
    }
    
    .card-icon {
        width: 50px;
        height: 50px;
        font-size: var(--text-xl);
    }
    
    .quote-text {
        font-size: var(--text-lg);
    }
    
    .about-content p,
    .contact-cta p {
        font-size: var(--text-base);
    }
}

/* Large Desktop (1280px and up) */
@media (min-width: 1280px) {
    .overview-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .legal-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .hero h1 {
        font-size: calc(var(--text-6xl) + 0.5rem);
    }
    
    .section-title {
        font-size: calc(var(--text-5xl) + 0.25rem);
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    .fade-in {
        opacity: 1;
        transform: none;
    }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .overview-card,
    .legal-card,
    .contact-cta {
        border: 2px solid var(--gray-800);
    }
    
    .btn-primary {
        border: 2px solid var(--gray-800);
    }
    
    .btn-outline {
        border: 2px solid var(--gray-800);
    }
}

/* Print Styles */
@media print {
    .header,
    .mobile-menu-button,
    .cta-buttons,
    .contact-buttons,
    .footer {
        display: none