/* ==========================================================================
   Responsive Design
   ========================================================================== */

/* Large Desktop */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
    
    h1 {
        font-size: 4rem;
    }
}

/* Desktop */
@media (max-width: 1199px) {
    h1 {
        font-size: 3rem;
    }
    
    h2 {
        font-size: 2.25rem;
    }
    
    .hero-content h1 {
        font-size: 3rem;
    }
}

/* Tablet Landscape */
@media (max-width: 991px) {
    .container {
        padding: 0 var(--space-md);
    }
    
    .section {
        padding: var(--space-2xl) 0;
    }
    
    /* Navigation */
    .nav-desktop,
    .header-actions {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    /* Hero */
    .hero-section {
        min-height: 80vh;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    /* About */
    .about-grid {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }
    
    .about-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Projects */
    .projects-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
    
    /* Contact */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }
    
    .contact-info-grid {
        grid-template-columns: 1fr;
    }
    
    /* Footer */
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Tablet Portrait */
@media (max-width: 767px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    h3 {
        font-size: 1.5rem;
    }
    
    /* Top Bar */
    .top-bar-content {
        justify-content: center;
    }
    
    .contact-info {
        display: none;
    }
    
    /* Hero */
    .hero-section {
        min-height: 70vh;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-actions {
        flex-direction: column;
        gap: var(--space-md);
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    /* Features */
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    /* News Ticker */
    .news-container {
        flex-direction: column;
        gap: var(--space-lg);
        text-align: center;
    }
    
    .news-ticker-wrapper {
        width: 100%;
    }
    
    /* Forms */
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .checkbox-group {
        grid-template-columns: 1fr;
    }
    
    /* Gallery */
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}

/* Mobile */
@media (max-width: 575px) {
    :root {
        --space-2xl: 2rem;
        --space-3xl: 3rem;
    }
    
    .container {
        padding: 0 var(--space-md);
    }
    
    .section {
        padding: var(--space-2xl) 0;
    }
    
    /* Header */
    .logo-text h1 {
        font-size: 1.2rem;
    }
    
    .logo-subtitle {
        font-size: 0.7rem;
    }
    
    /* Hero */
    .hero-section {
        min-height: 60vh;
    }
    
    .hero-content h1 {
        font-size: 1.75rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    /* About Stats */
    .about-stats {
        grid-template-columns: 1fr;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    /* Projects */
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    /* Forms */
    .form-container {
        padding: var(--space-xl);
    }
    
    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-legal {
        justify-content: center;
    }
}

/* Small Mobile */
@media (max-width: 375px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .mobile-nav {
        width: 280px;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

/* Print Styles */
@media print {
    .top-bar,
    .header,
    .mobile-menu-btn,
    .hero-actions,
    .footer-bottom,
    .social-top,
    .btn {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    a {
        color: #000 !important;
        text-decoration: underline !important;
    }
    
    .container {
        max-width: 100%;
    }
}