/* Responsive Styles for RegisterEvent Website */

/* Large Screens (1200px and below) */
@media screen and (max-width: 1200px) {
    .container {
        max-width: 100%;
        padding: 0 30px;
    }
}

/* Medium Screens (992px and below) */
@media screen and (max-width: 992px) {
    /* Header */
    header .container {
        padding: 15px 20px;
    }
    
    .cta-buttons {
        display: none;
    }
    
    /* Hero Section */
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    /* Features Section */
    .feature-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .feature-content.reverse {
        direction: ltr;
    }
    
    .feature-image {
        order: -1;
    }
    
    .feature-content.reverse .feature-image {
        order: -1;
    }
}

/* Small Screens (768px and below) */
@media screen and (max-width: 768px) {
    /* Header */
    header .container {
        position: relative;
    }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--white-color);
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
        z-index: 1000;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    /* Hero Section */
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-content {
        order: 2;
    }
    
    .hero-image {
        order: 1;
        margin-bottom: 30px;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    /* How It Works */
    .step {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    /* CTA Section */
    .cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    /* Contact Form */
    .contact-form {
        grid-template-columns: 1fr;
    }
    
    .contact-form button {
        grid-column: 1;
    }
    
    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
}

/* Extra Small Screens (576px and below) */
@media screen and (max-width: 576px) {
    /* Typography */
    .section-header h2,
    .page-hero-content h1,
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    /* Features Grid */
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    /* Testimonials */
    .testimonial-author {
        flex-direction: column;
        text-align: center;
    }
    
    /* Feature Navigation */
    .feature-nav-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .feature-nav-item {
        padding: 15px 10px;
    }
    
    .feature-nav-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
        margin-bottom: 10px;
    }
    
    .feature-nav-item span {
        font-size: 0.9rem;
    }
    
    /* Form Container */
    .form-container {
        padding: 20px;
    }
}

/* Mobile Menu Animation */
@media screen and (max-width: 768px) {
    .mobile-menu-btn.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-btn.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
}
