/* 
 * A Fantástica Aventura do Circo - Responsive Styles
 * Escola Maria Cacko Ballet Infantil
 */

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

/* Extra Large Devices (large desktops, 1200px and up) */
@media (max-width: 1200px) {
    html {
        font-size: 60%;
    }
    
    .container {
        max-width: 1140px;
    }
}

/* Large Devices (desktops, 992px and up) */
@media (max-width: 992px) {
    html {
        font-size: 58%;
    }
    
    .container {
        max-width: 960px;
    }
    
    /* About Section */
    .about-content {
        flex-direction: column;
    }
    
    .about-animation {
        max-width: 100%;
    }
    
    /* Ticket Cards */
    .ticket-cards {
        flex-direction: column;
        align-items: center;
    }
    
    .ticket-card {
        max-width: 500px;
        width: 100%;
        margin-bottom: var(--spacing-md);
    }
    
    .ticket-card.featured {
        transform: scale(1);
    }
    
    .ticket-card.featured:hover {
        transform: translateY(-10px);
    }
}

/* Medium Devices (tablets, 768px and up) */
@media (max-width: 768px) {
    html {
        font-size: 56%;
    }
    
    .container {
        max-width: 720px;
    }
    
    /* Header */
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background-color: var(--color-white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.3s ease;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        z-index: 1000;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .menu-toggle {
        display: block;
        z-index: 1001;
    }
    
    /* Hero Section */
    .hero-content {
        padding: var(--spacing-md);
    }
    
    .hero-title {
        font-size: 3.6rem;
    }
    
    /* Date & Location Section */
    .date-location-content {
        flex-direction: column;
        align-items: center;
    }
    
    .date-box, .location-box {
        width: 100%;
        max-width: 500px;
        margin-bottom: var(--spacing-md);
    }
    
    /* Timeline */
    .timeline::before {
        left: 30px;
    }
    
    .timeline-icon {
        left: 30px;
        transform: translateX(0);
    }
    
    .timeline-content {
        width: calc(100% - 80px);
        margin-left: 80px !important;
    }
    
    .timeline-item:nth-child(odd) .timeline-content::before,
    .timeline-item:nth-child(even) .timeline-content::before {
        left: -15px;
        right: auto;
        border-right: 15px solid var(--color-white);
        border-left: none;
    }
    
    /* Footer */
    .footer-content {
        flex-direction: column;
        gap: var(--spacing-md);
        text-align: center;
    }
}

/* Small Devices (landscape phones, 576px and up) */
@media (max-width: 576px) {
    html {
        font-size: 54%;
    }
    
    .container {
        max-width: 540px;
        padding: 0 var(--spacing-sm);
    }
    
    /* Hero Section */
    .hero-section {
        min-height: 600px;
    }
    
    .hero-content {
        padding: var(--spacing-sm);
    }
    
    .hero-title {
        font-size: 3.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.8rem;
    }
    
    .mascot-container {
        width: 120px;
        height: 120px;
    }
    
    /* Section Headers */
    h2 {
        font-size: 3rem;
    }
    
    /* CTA Section */
    .cta-content h2 {
        font-size: 2.8rem;
    }
    
    .cta-content p {
        font-size: 1.8rem;
    }
    
    .btn-large {
        padding: 1.2rem 2.4rem;
        font-size: 1.8rem;
    }
}

/* Extra Small Devices (portrait phones, less than 576px) */
@media (max-width: 480px) {
    html {
        font-size: 52%;
    }
    
    /* Hero Section */
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.6rem;
    }
    
    .mascot-container {
        width: 100px;
        height: 100px;
    }
    
    /* Timeline */
    .timeline-icon {
        width: 50px;
        height: 50px;
        font-size: 2rem;
    }
    
    .timeline-content {
        padding: var(--spacing-sm);
    }
    
    /* Ticket Cards */
    .ticket-card {
        padding: var(--spacing-sm);
    }
    
    .price {
        font-size: 2.4rem;
    }
    
    /* Footer */
    .social-icon {
        width: 35px;
        height: 35px;
    }
}
