/* 
* Solo Leveling Manga Website
* Responsive Stylesheet - Simplified Version
*/

/* ===== Media Queries ===== */

/* Large Devices (Desktops, less than 1200px) */
@media (max-width: 1199.98px) {
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .hero-content h2 {
        font-size: 1.6rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
}

/* Medium Devices (Tablets, less than 992px) */
@media (max-width: 991.98px) {
    .site-header .container {
        flex-wrap: wrap;
    }
    
    .logo {
        margin-right: auto;
    }
    
    .main-nav {
        order: 3;
        width: 100%;
        margin-top: var(--spacing-md);
    }
    
    .nav-menu {
        justify-content: center;
    }
    
    .hero-wrapper {
        flex-direction: column;
    }
    
    .hero-content {
        max-width: 100%;
        text-align: center;
        padding-right: 0;
        margin-bottom: var(--spacing-lg);
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-image {
        max-width: 100%;
    }
    
    .hero-image img {
        max-height: 400px;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content h2 {
        font-size: 1.4rem;
    }
    
    .hero-section {
        height: auto;
        padding: var(--spacing-xl) 0;
    }
    
    .chapters-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
    
    .chapters-list ul {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    }
    
    .footer-top {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

/* Small Devices (Mobile, less than 768px) */
@media (max-width: 767.98px) {
    .menu-toggle {
        display: block;
        z-index: 1001;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 250px;
        height: 100vh;
        background-color: var(--light-bg);
        flex-direction: column;
        align-items: flex-start;
        padding: 80px 20px 20px;
        transition: right var(--transition-normal);
        box-shadow: var(--shadow-lg);
        z-index: 1000;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-menu li {
        margin: var(--spacing-md) 0;
    }
    
    .hero-image img {
        max-height: 300px;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content h2 {
        font-size: 1.2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: var(--spacing-sm);
    }
    
    .hero-section {
        height: auto;
        padding: var(--spacing-xl) 0;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .chapters-grid {
        grid-template-columns: 1fr;
    }
    
    .chapters-list ul {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .related-links {
        grid-template-columns: 1fr;
    }
    
    .footer-top {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-logo {
        margin-bottom: var(--spacing-lg);
    }
    
    .footer-nav h4::after,
    .footer-social h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .social-icons {
        justify-content: center;
    }
}

/* Extra Small Devices (Small Mobile, less than 576px) */
@media (max-width: 575.98px) {
    .site-header {
        padding: var(--spacing-sm) 0;
    }
    
    .logo img {
        height: 40px;
    }
    
    .hero-image img {
        max-height: 250px;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .hero-content h2 {
        font-size: 1.1rem;
    }
    
    .hero-section {
        height: auto;
        padding: var(--spacing-lg) 0;
    }
    
    .btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
    
    .chapters-grid {
        gap: var(--spacing-md);
    }
    
    .chapters-list ul {
        grid-template-columns: 1fr;
    }
    
    .seo-text h2 {
        font-size: 1.5rem;
    }
    
    .seo-text h3 {
        font-size: 1.2rem;
    }
}

/* Menu Toggle Animation */
.menu-toggle.active .bar:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active .bar:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Print Styles */
@media print {
    .site-header,
    .hero-section,
    .video-section,
    .footer-top,
    #back-to-top {
        display: none;
    }
    
    .chapters-section,
    .seo-content {
        padding: 20px 0;
    }
    
    body {
        background-color: white;
        color: black;
    }
    
    .container {
        width: 100%;
        max-width: none;
        padding: 0;
    }
    
    .chapters-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .chapter-card {
        break-inside: avoid;
    }
    
    .footer-bottom {
        border-top: 1px solid #ddd;
        padding-top: 10px;
        text-align: center;
    }
} 