/* Responsive Design */

/* Pantallas grandes */
@media (min-width: 1200px) {
    .container {
        max-width: 1100px;
    }
    
    .hero h2 {
        font-size: 3.8rem;
    }
}

/* Escritorio medio */
@media (max-width: 992px) {
    .hero h2 {
        font-size: 2.8rem;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .catalog-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 700px;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Tabletas */
@media (max-width: 768px) {
    .mobile-menu {
        display: block;
    }
    
    nav ul {
        position: fixed;
        top: 80px;
        left: -100%;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 10px rgba(0,0,0,0.1);
        padding: 20px 0;
        z-index: 1000;
    }
    
    nav ul.active {
        left: 0;
    }
    
    nav ul li {
        margin: 15px 0;
    }
    
    .hero h2 {
        font-size: 2.2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .section {
        padding: 70px 0;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .catalog-grid {
        grid-template-columns: 1fr;
        max-width: 100%;
    }
    
    .book-image {
        height: 280px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
    }
}

/* Móviles grandes */
@media (max-width: 576px) {
    .logo h1 {
        font-size: 1.5rem;
    }
    
    .hero h2 {
        font-size: 1.8rem;
    }
    
    .hero p {
        font-size: 0.95rem;
    }
    
    .section {
        padding: 50px 0;
    }
    
    .section-title {
        margin-bottom: 40px;
    }
    
    .section-title h2 {
        font-size: 1.8rem;
    }
    
    .about-text h3 {
        font-size: 1.5rem;
    }
    
    .service-card {
        padding: 20px;
    }
    
    .service-icon {
        font-size: 2.5rem;
    }
    
    .book-info h3 {
        font-size: 1rem;
    }
    
    .book-info .author {
        font-size: 0.85rem;
    }
    
    .book-info .price {
        font-size: 1rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

/* Móviles pequeños */
@media (max-width: 480px) {
    .container {
        width: 95%;
    }
    
    .header-container {
        padding: 10px 0;
    }
    
    .hero {
        padding-top: 70px;
    }
    
    .hero h2 {
        font-size: 1.6rem;
    }
    
    .hero-buttons {
        gap: 10px;
    }
    
    .btn {
        width: 100%;
        margin-bottom: 10px;
    }
    
    .book-image {
        height: 250px;
    }
    
    .footer-content {
        gap: 30px;
    }
    
    .footer-column h3 {
        font-size: 1.3rem;
    }
}

/* Orientación landscape en móviles */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        height: auto;
        min-height: 100vh;
        padding: 120px 0 60px;
    }
    
    .hero-content {
        padding: 20px;
    }
}