/* ======================================
   FNE - Responsive Styles
   ====================================== */

/* Tablet (max-width: 1024px) */
@media (max-width: 1024px) {
    .nav-list {
        gap: 0.125rem;
    }
    
    .nav-link {
        padding: 0.625rem 0.75rem;
        font-size: 0.85rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .newsletter-form {
        min-width: 350px;
    }
    
    .project-featured {
        grid-template-columns: 1fr;
    }
}

/* Mobile (max-width: 768px) */
@media (max-width: 768px) {
    /* Typography */
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.25rem; }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .section-description {
        font-size: 1rem;
    }
    
    /* Header */
    .header-top {
        display: none;
    }
    
    .navbar {
        gap: var(--spacing-sm);
    }
    
    .logo-title {
        font-size: 1.25rem;
    }
    
    .logo-subtitle {
        font-size: 0.7rem;
    }
    
    .nav-menu {
        position: fixed;
        top: 73px;
        left: -100%;
        width: 280px;
        height: calc(100vh - 73px);
        background-color: var(--bg-white);
        box-shadow: var(--shadow-xl);
        transition: var(--transition-normal);
        overflow-y: auto;
        z-index: 999;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-list {
        flex-direction: column;
        padding: var(--spacing-md);
    }
    
    .nav-link {
        width: 100%;
        padding: 0.875rem 1rem;
        font-size: 0.95rem;
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background-color: var(--bg-lighter);
        margin-top: 0.5rem;
        display: none;
    }
    
    .nav-dropdown.active .dropdown-menu {
        display: block;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .language-switcher {
        display: none;
    }
    
    /* Hero */
    .hero-section {
        height: 500px;
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    .hero-controls {
        bottom: var(--spacing-md);
    }
    
    /* Stats */
    .stats-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .stat-card {
        padding: var(--spacing-md);
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    /* Mission */
    .mission-grid {
        grid-template-columns: 1fr;
    }
    
    .mission-card {
        padding: var(--spacing-lg);
    }
    
    /* News */
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    /* Projects */
    .projects-map {
        height: 350px;
    }
    
    .project-featured {
        grid-template-columns: 1fr;
    }
    
    .project-info {
        padding: var(--spacing-lg);
    }
    
    /* Downloads */
    .downloads-grid {
        grid-template-columns: 1fr;
    }
    
    /* Newsletter */
    .newsletter-content {
        flex-direction: column;
        text-align: center;
    }
    
    .newsletter-text h2 {
        font-size: 1.5rem;
    }
    
    .newsletter-form {
        min-width: 100%;
        flex-direction: column;
    }
    
    .newsletter-form input,
    .newsletter-form button {
        width: 100%;
    }
    
    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-bottom-links {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    /* Search Modal */
    .search-form {
        flex-direction: column;
    }
    
    .search-form input,
    .search-submit {
        width: 100%;
    }
}

/* Small Mobile (max-width: 480px) */
@media (max-width: 480px) {
    .container {
        padding: 0 var(--spacing-sm);
    }
    
    section {
        padding: var(--spacing-xl) 0;
    }
    
    .hero-section {
        height: 450px;
    }
    
    .hero-title {
        font-size: 1.5rem;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
    }
    
    .hero-buttons .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.95rem;
    }
    
    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.95rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .stat-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    
    .stat-number {
        font-size: 1.75rem;
    }
    
    .mission-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .mission-card {
        padding: var(--spacing-md);
    }
}

/* Print Styles */
@media print {
    .site-header,
    .hero-section,
    .newsletter-section,
    .site-footer,
    .search-modal {
        display: none;
    }
    
    body {
        font-size: 12pt;
    }
    
    a {
        text-decoration: underline;
        color: #000;
    }
}