/* public/css/responsive.css */

/* Large Desktops */
@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}

/* Regular Desktops */
@media (max-width: 1199px) {
    .container {
        max-width: 960px;
    }
    
    .hero h1 {
        font-size: 3rem;
    }
}

/* Tablets & Small Desktops */
@media (max-width: 992px) {
    .container {
        max-width: 720px;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .section-header h2 {
        font-size: 2.2rem;
    }
    
    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .class-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        row-gap: 3rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

/* Mobile Landscape */
@media (max-width: 768px) {
    .container {
        max-width: 540px;
    }
    
    .navbar-container {
        padding: 0.8rem 1rem;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .logo img {
        height: 40px;
    }
    
    .nav-menu {
        position: fixed;
        flex-direction: column;
        background-color: white;
        width: 100%;
        top: 73px;
        left: 0;
        height: 0;
        overflow: hidden;
        padding: 0;
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
        transition: height 0.3s ease, padding 0.3s ease;
    }
    
    .nav-menu.active {
        height: auto;
        padding: 2rem 0;
    }
    
    .nav-menu li {
        margin: 1rem 0;
        text-align: center;
    }
    
    .nav-menu li:first-child {
        margin-top: 0;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .btn {
        padding: 0.7rem 1.8rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
}

/* Mobile Portrait */
@media (max-width: 576px) {
    .container {
        width: 95%;
        padding: 0 0.5rem;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero p {
        font-size: 0.9rem;
    }
    
    .btn {
        padding: 0.6rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .feature-grid, .class-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        row-gap: 2rem;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .section {
        padding: 3rem 0;
    }
    
    .page-header {
        padding: 6rem 0 3rem;
    }
    
    .page-header h1 {
        font-size: 2.2rem;
    }
}

/* Very Small Devices */
@media (max-width: 400px) {
    .hero h1 {
        font-size: 1.5rem;
    }
    
    .navbar-container {
        padding: 0.6rem 0.8rem;
    }
    
    .logo img {
        height: 35px;
    }
}

/* Mobile Menu Styles */
.mobile-menu-btn {
    display: none;
    padding: 0.5rem;
    cursor: pointer;
    background: none;
    border: none;
    color: var(--text-dark);
    font-size: 1.5rem;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
    margin: 5px 0;
    transition: var(--transition);
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1001;
}

.mobile-menu-content {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100vh;
    background-color: white;
    padding: 2rem;
    transition: var(--transition);
}

.mobile-menu.active .mobile-menu-content {
    right: 0;
}

/* Responsive Breakpoints */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }

    .nav-links {
        display: none;
    }

    .mobile-menu.active .nav-links {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        padding: 2rem;
    }
}