/* ===================================
   Sevilla Tourism - Responsive Styles
   Mobile-First Approach
   =================================== */

/* Tablet and below (max-width: 1024px) */
@media (max-width: 1024px) {
    .content-wrapper {
        grid-template-columns: 1fr;
    }

    .sidebar {
        order: 2;
    }

    .main-article {
        order: 1;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .monument-hero {
        height: 400px;
    }

    .hero-overlay h1 {
        font-size: 2.5rem;
    }
}

/* Tablet (max-width: 768px) */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--color-white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
        gap: 1rem;
    }

    .nav-menu.active {
        left: 0;
    }

    .menu-toggle {
        display: flex;
    }

    .hero {
        padding: 60px 20px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .monuments-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }

    .tours-grid {
        grid-template-columns: 1fr;
    }

    .map-container {
        height: 400px;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .monument-hero {
        height: 300px;
    }

    .hero-overlay {
        padding: 2rem 1rem;
    }

    .hero-overlay h1 {
        font-size: 2rem;
    }

    .monument-subtitle {
        font-size: 1.1rem;
    }

    .main-article {
        padding: 1.5rem;
    }

    .info-boxes {
        grid-template-columns: 1fr;
    }

    .image-gallery {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }

    .monument-map {
        height: 300px;
    }
}

/* Mobile (max-width: 480px) */
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .logo h1 {
        font-size: 1.25rem;
    }

    .hero {
        padding: 40px 15px;
    }

    .hero-title {
        font-size: 1.75rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .cta-button {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }

    .map-section,
    .monuments-section,
    .tours-section {
        padding: 50px 15px;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .section-description {
        font-size: 1rem;
    }

    .monuments-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .card-content h3 {
        font-size: 1.25rem;
    }

    .tour-card {
        padding: 1.5rem;
    }

    .tour-card h3 {
        font-size: 1.25rem;
    }

    .map-container {
        height: 300px;
    }

    .monument-hero {
        height: 250px;
    }

    .hero-overlay {
        padding: 1.5rem 1rem;
    }

    .hero-overlay h1 {
        font-size: 1.5rem;
    }

    .monument-subtitle {
        font-size: 1rem;
    }

    .main-article {
        padding: 1rem;
    }

    .monument-description h2,
    .practical-info h2,
    .location-section h2,
    .gallery-section h2 {
        font-size: 1.5rem;
    }

    .monument-description h3 {
        font-size: 1.25rem;
    }

    .info-box {
        padding: 1rem;
    }

    .image-gallery {
        grid-template-columns: 1fr;
    }

    .image-gallery img {
        height: 250px;
    }

    .cta-box,
    .related-tours,
    .related-monuments {
        padding: 1.5rem;
    }

    .breadcrumb {
        font-size: 0.9rem;
    }

    .footer {
        padding: 2rem 15px 1rem;
    }
}

/* Large screens (min-width: 1400px) */
@media (min-width: 1400px) {
    .hero-title {
        font-size: 3.5rem;
    }

    .section-title {
        font-size: 3rem;
    }

    .map-container {
        height: 600px;
    }
}

/* Print styles */
@media print {
    .header,
    .footer,
    .cta-button,
    .tour-card,
    .sidebar {
        display: none;
    }

    body {
        background: white;
        color: black;
    }

    .main-article {
        box-shadow: none;
    }

    a {
        text-decoration: underline;
    }
}

/* Reduce motion 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;
    }
}
