/* responsive.css - Media queries for different screen sizes */

/* iPad and smaller: swap desktop nav for hamburger menu early
   (iPad portrait widths 810-834px and landscape 1024px all exceed 768px,
    leaving 7 nav items cramped. Nav-swap only — other mobile adjustments
    stay at 768px below.) */
@media (max-width: 1024px) {
    .nav-links {
        display: none !important;
    }

    .mobile-menu-toggle {
        display: flex !important;
        margin-left: auto;
    }

    .mobile-menu {
        display: flex;
    }
}

@media (max-width: 992px) {
    .hero h1 {
        font-size: 2.8rem;
    }
    
    .section-heading {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    /* Logo adjustments - reduced by about 10% */
    .logo {
        width: 160px; /* Reduced from 180px */
        left: 0;
        top: -5px;
        transform: translateY(-30px);
    }
    
    .logo img {
        max-height: 180px; /* Reduced from 200px */
    }
    
    /* Hero section */
    .hero {
        padding: 220px 20px 60px;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .event-details {
        font-size: 1rem;
        padding: 10px;
    }
    
    .countdown {
        font-size: 1.1rem;
        padding: 12px;
    }
    
    .section-heading {
        font-size: 1.8rem;
    }
    
    .content-blocks {
        grid-template-columns: 1fr;
    }
    
    /* Committee page */
    .committee-columns {
        flex-direction: column;
    }
    
    /* Themes page */
    .theme-gallery {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    }
    
    .theme-item img {
        height: 140px;
    }
    
    .theme-title {
        font-size: 0.8rem;
        height: 70px;
    }
    
    /* Awards page */
    .awardees-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .quick-links {
        grid-template-columns: 1fr;
    }
    
    .image-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .partner-logos {
        flex-direction: column;
        gap: 20px;
    }
    
    .section-heading {
        font-size: 1.6rem;
    }

    /* Make logo even smaller on very small screens - reduced by about 10% */
    .logo {
        width: 125px; /* Reduced from 140px */
        left: 0;
        transform: translateY(-25px);
    }
    
    .logo img {
        max-height: 145px; /* Reduced from 160px */
    }
    
    .hero {
        padding: 200px 20px 60px;
    }
}