/* Responsive CSS for PutritoGel Jitu Website */

/* Large screens (desktops) */
@media screen and (max-width: 1200px) {
    .container {
        padding: 0 30px;
    }
    
    .hero-content h1 {
        font-size: 3rem;
    }
}

/* Medium screens (tablets) */
@media screen and (max-width: 992px) {
    section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero {
        padding: 100px 0;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content p {
        font-size: 1.25rem;
    }
    
    .footer-content {
        flex-direction: column;
    }
    
    .footer-logo {
        margin-bottom: 30px;
    }
}

/* Small screens (mobile devices) */
@media screen and (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        flex-direction: column;
        background-color: var(--dark-bg);
        padding: 20px 0;
        text-align: center;
        transition: var(--transition);
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        z-index: 99;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 15px 0;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form input {
        border-radius: var(--border-radius);
        margin-bottom: 15px;
    }
    
    .newsletter-form button {
        border-radius: var(--border-radius);
        width: 100%;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .testimonial-slide {
        padding: 20px;
    }
}

/* Extra small screens */
@media screen and (max-width: 480px) {
    .section-title {
        font-size: 1.8rem;
    }
    
    .section-title::after {
        width: 60px;
    }
    
    section {
        padding: 50px 0;
    }
    
    .hero {
        padding: 80px 0;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .feature-card,
    .game-card {
        padding: 20px;
    }
    
    .partners-list {
        gap: 15px;
    }
    
    .partners-list li a {
        padding: 8px 15px;
        font-size: 0.9rem;
    }
    
    .footer-column h3 {
        font-size: 1.1rem;
    }
}

/* Height-based media queries */
@media screen and (max-height: 600px) {
    .hero {
        padding: 60px 0;
    }
    
    .hero-content h1 {
        margin-bottom: 10px;
    }
    
    .hero-content p {
        margin-bottom: 20px;
    }
}

/* For larger screens to enhance UI */
@media screen and (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
    
    .section-title {
        font-size: 2.8rem;
    }
    
    .hero-content h1 {
        font-size: 4rem;
    }
}

/* Make focus states visible for accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    body:not(.light-theme) {
        --light-bg: #121212;
        --text-color: #e0e0e0;
    }
    
    body:not(.light-theme) .feature-card,
    body:not(.light-theme) .game-card,
    body:not(.light-theme) .testimonial-slide {
        background-color: #202020;
    }
    
    body:not(.light-theme) .newsletter-form input {
        background-color: rgba(255, 255, 255, 0.1);
        color: var(--light-text);
    }
}
