/* ========================================
   Responsive Design - Mobile First
   ======================================== */

/* Tablet - 768px and below */
@media (max-width: 768px) {
    /* Typography */
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    h3 {
        font-size: 1.25rem;
    }

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

    /* Navigation */
    .menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: var(--bg-white);
        flex-direction: column;
        align-items: flex-start;
        padding: var(--spacing-lg);
        box-shadow: var(--shadow-lg);
        transition: left var(--transition-base);
        gap: 0;
    }

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

    .nav-menu li {
        width: 100%;
        border-bottom: 1px solid var(--bg-gray);
    }

    .nav-menu a {
        display: block;
        width: 100%;
        padding: var(--spacing-md);
    }

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

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

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

    /* Hero Section */
    .hero {
        padding: var(--spacing-xl) 0;
    }

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

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

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    /* About Page */
    .about-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }

    .about-image {
        order: -1;
    }

    /* Timeline */
    .timeline-item {
        grid-template-columns: 80px 1fr;
        gap: var(--spacing-md);
    }

    .timeline-item::before {
        left: 40px;
    }

    .timeline-year {
        font-size: 1.25rem;
        padding: var(--spacing-xs);
    }

    .timeline-content {
        padding: var(--spacing-md);
    }

    /* Grids */
    .highlights-grid,
    .testimonials-grid,
    .philosophy-grid,
    .facts-grid,
    .details-grid,
    .faq-grid,
    .extra-grid {
        grid-template-columns: 1fr;
    }

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

    .process-steps {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Contact Page */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }

    .contact-info {
        order: -1;
    }

    /* Gallery */
    .gallery-grid {
        grid-template-columns: 1fr;
    }

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

    .filter-buttons {
        gap: var(--spacing-xs);
    }

    .filter-btn {
        font-size: 0.75rem;
        padding: 0.5rem 1rem;
    }

    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }

    /* Lightbox */
    .lightbox-close,
    .lightbox-prev,
    .lightbox-next {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }

    .lightbox-close {
        top: 10px;
        right: 10px;
    }

    .lightbox-prev {
        left: 10px;
    }

    .lightbox-next {
        right: 10px;
    }

    /* Back to Top */
    .back-to-top {
        width: 40px;
        height: 40px;
        font-size: 1.25rem;
        bottom: 20px;
        right: 20px;
    }

    /* Spacing Adjustments */
    section {
        padding: var(--spacing-xl) 0;
    }

    .cta,
    .pricing,
    .experience,
    .philosophy,
    .fun-facts,
    .service-details,
    .booking-process,
    .faq,
    .contact-section,
    .contact-extra,
    .stats,
    .gallery,
    .posters-gallery {
        padding: var(--spacing-xl) 0;
    }
}

/* Mobile - 480px and below */
@media (max-width: 480px) {
    /* Container */
    .container {
        padding: 0 var(--spacing-sm);
    }

    /* Typography */
    h1 {
        font-size: 1.75rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .section-title {
        font-size: 1.5rem;
        margin-bottom: var(--spacing-lg);
    }

    /* Hero */
    .hero {
        padding: var(--spacing-lg) 0;
    }

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

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

    /* Buttons */
    .btn {
        padding: 0.625rem 1.25rem;
        font-size: 0.875rem;
    }

    .btn-large {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }

    /* Cards */
    .highlight-card,
    .testimonial-card,
    .philosophy-card,
    .fact-card,
    .pricing-card,
    .detail-card,
    .faq-item,
    .extra-card {
        padding: var(--spacing-md);
    }

    /* Timeline */
    .timeline-item {
        grid-template-columns: 60px 1fr;
        gap: var(--spacing-sm);
        margin-bottom: var(--spacing-lg);
    }

    .timeline-item::before {
        left: 30px;
    }

    .timeline-year {
        font-size: 1rem;
    }

    .timeline-content {
        padding: var(--spacing-sm);
    }

    /* Pricing */
    .price {
        font-size: 2rem;
    }

    /* Stats */
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .stat-number {
        font-size: 2rem;
    }

    /* Info Items */
    .info-item {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--spacing-sm);
    }

    /* Event Details */
    .event-details {
        flex-direction: column;
        align-items: flex-start;
    }

    /* Process Steps */
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }

    /* Gallery Grid */
    .gallery-grid,
    .posters-grid {
        gap: var(--spacing-md);
    }

    /* Poster Content */
    .poster-content h4 {
        font-size: 1.25rem;
    }

    .poster-content p {
        font-size: 2.5rem;
    }

    /* Lightbox */
    .lightbox-content {
        max-width: 95%;
        max-height: 95%;
    }

    .lightbox-image {
        max-height: 70vh;
    }

    .lightbox-caption {
        font-size: 1rem;
        padding: var(--spacing-sm);
    }

    .lightbox-close,
    .lightbox-prev,
    .lightbox-next {
        width: 35px;
        height: 35px;
        font-size: 1.25rem;
        padding: var(--spacing-xs);
    }

    /* Footer */
    .footer {
        padding: var(--spacing-lg) 0 var(--spacing-sm);
    }

    .footer-content {
        gap: var(--spacing-md);
    }

    /* Spacing Reductions */
    section {
        padding: var(--spacing-lg) 0;
    }

    .intro,
    .highlights,
    .testimonials,
    .about-content,
    .experience,
    .philosophy,
    .fun-facts,
    .services-intro,
    .pricing,
    .service-details,
    .booking-process,
    .faq,
    .contact-section,
    .contact-extra,
    .stats,
    .gallery,
    .posters-gallery {
        padding: var(--spacing-lg) 0;
    }

    .cta,
    .page-header {
        padding: var(--spacing-xl) 0;
    }
}

/* Desktop - 1024px and above */
@media (min-width: 1024px) {
    /* Container */
    .container {
        max-width: 1280px;
    }

    /* Hero */
    .hero-title {
        font-size: 3.5rem;
    }

    /* Grids - optimize for larger screens */
    .highlights-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .philosophy-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .facts-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .pricing-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .details-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .process-steps {
        grid-template-columns: repeat(4, 1fr);
    }

    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .posters-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    /* Contact Grid */
    .contact-grid {
        grid-template-columns: 2fr 1fr;
    }

    /* About Grid */
    .about-grid {
        grid-template-columns: 1fr 2fr;
    }
}

/* Print Styles */
@media print {
    .header,
    .menu-toggle,
    .nav-menu,
    .hero-buttons,
    .cta,
    .back-to-top,
    .lightbox,
    .filter-buttons {
        display: none !important;
    }

    body {
        font-size: 12pt;
        color: #000;
    }

    a {
        color: #000;
        text-decoration: underline;
    }

    h1, h2, h3 {
        page-break-after: avoid;
    }

    .page-header {
        background: none;
        color: #000;
    }

    .page-header h1 {
        color: #000;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    :root {
        --primary-color: #6D28D9;
        --text-dark: #000000;
        --bg-white: #FFFFFF;
    }

    .btn {
        border-width: 3px;
    }

    .gallery-item,
    .poster-item,
    .pricing-card {
        border: 2px solid var(--text-dark);
    }
}
