/*
========================================
PESO Biñan - Responsive Design
Author: PESO Biñan
Version: 1.0
========================================
*/

/* Large Desktop */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .container {
        max-width: 960px;
    }
    
    .award-card.featured {
        grid-column: span 1;
    }
}

/* Desktop */
@media (max-width: 992px) {
    .hero-title {
        font-size: 2.2rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .system-status {
        margin-top: 70px;
        font-size: 0.8rem;
    }
    
    .logo-image {
        height: 50px;
    }
    
    .navbar-custom.scrolled .logo-image {
        height: 45px;
    }
    
    .about-title {
        font-size: 1.8rem;
    }
    
    .functions-wrapper {
        padding: 25px;
    }
    
    .programs-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    }
    
    .calendar-main-container {
        flex-direction: column;
    }
    
    .awards-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
    
    .prereg-title {
        font-size: 2rem;
    }
}

/* Tablet */
@media (max-width: 768px) {
    .hero-section {
        padding: 100px 0 40px;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-quote {
        font-size: 1.2rem;
        padding: 12px 20px;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-primary-custom,
    .btn-secondary-custom {
        width: 100%;
        max-width: 300px;
        text-align: center;
        justify-content: center;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .login-card {
        margin-bottom: 30px;
    }
    
    .stats-section {
        padding: 60px 0;
    }
    
    .system-status {
        display: none;
    }
    
    .logo-container {
        gap: 8px;
    }
    
    .logo-image {
        height: 45px;
    }
    
    .logo-main-text {
        font-size: 1.5rem;
    }
    
    .logo-sub-text {
        font-size: 0.7rem;
    }
    
    .about-card {
        padding: 30px 20px;
    }
    
    .functions-grid {
        grid-template-columns: 1fr;
    }
    
    .function-badge {
        font-size: 0.85rem;
        padding: 8px 15px;
    }
    
    .program-pill {
        font-size: 0.8rem;
        padding: 10px 12px;
    }
    
    .calendar-day-name {
        font-size: 0.7rem;
    }
    
    .day-number {
        font-size: 0.9rem;
    }
    
    .event-title {
        font-size: 0.6rem;
    }
    
    .awards-header h2 {
        font-size: 2rem;
    }
    
    .award-title {
        font-size: 1.2rem;
        padding-right: 60px;
    }
    
    .prereg-section {
        padding: var(--section-padding-mobile) 0;
    }
    
    .prereg-title {
        font-size: 1.8rem;
    }
    
    .prereg-cta {
        flex-direction: column;
    }
    
    .prereg-stats {
        justify-content: center;
    }
    
    .qr-sample {
        position: static;
        margin-top: 20px;
        justify-content: center;
    }
    
    .event-item {
        flex-wrap: wrap;
    }
}

/* Mobile */
@media (max-width: 576px) {
    .hero-title {
        font-size: 1.5rem;
    }
    
    .hero-quote {
        font-size: 1rem;
        padding: 10px 15px;
    }
    
    .logo-main-text {
        font-size: 1.3rem;
    }
    
    .login-btn {
        padding: 8px 15px;
        font-size: 0.9rem;
    }
    
    .btn-primary-custom,
    .btn-secondary-custom {
        padding: 12px 25px;
        font-size: 0.95rem;
    }
    
    .about-title {
        font-size: 1.5rem;
    }
    
    .about-text {
        font-size: 1rem;
    }
    
    .functions-wrapper {
        padding: 20px;
    }
    
    .programs-grid {
        grid-template-columns: 1fr;
    }
    
    .calendar-grid {
        gap: 3px;
    }
    
    .calendar-day {
        padding: 5px;
        min-height: 70px;
    }
    
    .calendar-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .month-navigation {
        width: 100%;
        justify-content: space-between;
    }
    
    .awards-grid {
        grid-template-columns: 1fr;
    }
    
    .award-year-badge {
        position: static;
        display: inline-block;
        margin-bottom: 10px;
    }
    
    .award-title {
        padding-right: 0;
    }
    
    .prereg-title {
        font-size: 1.5rem;
    }
    
    .prereg-stats {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }
    
    .event-item {
        flex-direction: column;
        text-align: center;
    }
    
    .event-date {
        display: flex;
        justify-content: center;
        gap: 5px;
    }
    
    .event-date .month,
    .event-date .day {
        display: inline;
    }
    
    .event-date .day {
        font-size: 1.2rem;
    }
}