/* ============================================
   RESPONSIVE DESIGN - Media Queries
   ============================================ */

/* Tablet (768px and below) */
@media (max-width: 768px) {
    :root {
        --spacing-lg: 1.5rem;
        --spacing-xl: 2rem;
        --spacing-2xl: 3rem;
    }

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    h3 {
        font-size: 1.4rem;
    }

    .container {
        padding: 0 var(--spacing-md);
    }

    /* Navigation */
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background: white;
        border-bottom: 1px solid var(--border-color);
        gap: 0;
        padding: var(--spacing-lg);
        align-items: flex-start;
        z-index: 999;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        width: 100%;
        padding: var(--spacing-sm) 0;
    }

    .menu-toggle {
        display: flex;
    }

    /* Hero Section */
    .hero .container {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-cta {
        flex-direction: column;
    }

    .hero-stats {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        display: none;
    }

    /* Contact Section */
    .contact-content {
        display: flex;
        justify-content: center;
    }

    .contact-email h2 {
        font-size: 2rem;
    }

    /* Services */
    .service-item {
        grid-template-columns: 1fr;
    }

    .service-number {
        font-size: 2rem;
    }

    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
    }

    /* Tables */
    table {
        font-size: 0.9rem;
    }

    table th,
    table td {
        padding: var(--spacing-md);
    }
}

/* Mobile (480px and below) */
@media (max-width: 480px) {
    :root {
        --spacing-md: 1rem;
        --spacing-lg: 1.25rem;
        --spacing-xl: 1.5rem;
        --spacing-2xl: 2rem;
        --font-size-base: 14px;
    }

    h1 {
        font-size: 1.8rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.2rem;
    }

    .container {
        padding: 0 var(--spacing-md);
    }

    section {
        padding: var(--spacing-xl) 0;
    }

    /* Hero */
    .hero {
        min-height: auto;
        padding: var(--spacing-xl) 0;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

    .hero-stats {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .stat-label {
        font-size: 0.85rem;
    }

    /* Buttons */
    .btn-large {
        padding: var(--spacing-md) var(--spacing-lg);
        font-size: 1rem;
        width: 100%;
        text-align: center;
    }

    .hero-cta {
        flex-direction: column;
        gap: var(--spacing-md);
    }

    /* Strategy Cards */
    .strategy-card {
        padding: var(--spacing-lg);
    }

    /* Testimonials */
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    /* Table responsive */
    table {
        font-size: 0.85rem;
    }

    table th,
    table td {
        padding: var(--spacing-sm) var(--spacing-xs);
    }

    table th {
        font-size: 0.85rem;
    }

    /* CTA Section */
    .cta-section {
        padding: var(--spacing-xl) 0;
    }

    .cta-section h2 {
        font-size: 1.5rem;
    }

    .cta-section p {
        font-size: 1rem;
    }

    .section-header p {
        font-size: 1rem;
    }

    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }

    .footer {
        padding: var(--spacing-xl) 0 var(--spacing-lg);
    }
}

/* Small Mobile (320px and below) */
@media (max-width: 320px) {
    h1 {
        font-size: 1.5rem;
    }

    h2 {
        font-size: 1.3rem;
    }

    h3 {
        font-size: 1.1rem;
    }

    .btn-primary,
    .btn-secondary {
        padding: var(--spacing-sm) var(--spacing-md);
        font-size: 0.9rem;
    }

    .hero-title {
        font-size: 1.5rem;
    }

    .hero-subtitle {
        font-size: 0.9rem;
        max-width: 100%;
    }
}

/* Large Screens (1200px and above) */
@media (min-width: 1200px) {
    .container {
        max-width: 1280px;
    }

    h1 {
        font-size: 4rem;
    }

    h2 {
        font-size: 2.8rem;
    }

    section {
        padding: var(--spacing-2xl) 0;
    }
}

/* Extra Large Screens (1600px and above) */
@media (min-width: 1600px) {
    .container {
        max-width: 1400px;
    }

    h1 {
        font-size: 4.5rem;
    }

    h2 {
        font-size: 3.2rem;
    }

    .hero-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--spacing-2xl);
    }
}

/* Print Styles */
@media print {
    .navbar,
    .cta-section,
    .contact,
    .footer {
        display: none;
    }

    body {
        font-size: 12pt;
        line-height: 1.5;
    }

    a {
        text-decoration: underline;
    }

    .btn-primary,
    .btn-secondary {
        border: 1px solid #000;
        color: #000;
        background: white;
    }
}

/* Accessibility - Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    :root {
        --bg-white: #1a1a1a;
        --bg-light: #2d2d2d;
        --text-dark: #f5f5f5;
        --text-light: #b0b0b0;
        --border-color: #404040;
    }

    body {
        background-color: #1a1a1a;
        color: #f5f5f5;
    }

    .navbar {
        background: rgba(26, 26, 26, 0.95);
        border-bottom-color: var(--border-color);
    }

    .about-card,
    .strategy-card,
    .team-member,
    .info-item,
    .info-item a,
    .performance-table {
        background: #2d2d2d;
        border-color: var(--border-color);
    }

    .testimonial-card,
    .hero,
    .contact-email {
        background-color: #242424;
    }

    .testimonial-card,
    .hero {
        background-color: #242424;
    }

    .testimonial-text {
        color: #f5f5f5;
    }

    .testimonial-author {
        color: #a7f3d0;
    }

    input,
    select,
    textarea {
        background: #2d2d2d;
        color: #f5f5f5;
        border-color: #404040;
    }

    input:focus,
    select:focus,
    textarea:focus {
        border-color: var(--primary-color);
    }
}
