/* ===================================
   RESPONSIVE DESIGN - MOBILE & TABLET
   =================================== */

/* Tablet and Below (max-width: 900px) */
@media (max-width: 900px) {

    /* Hero Section */
    .hero h1 {
        font-size: 2.5rem;
        line-height: 1.2;
    }

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

    .hero-location {
        font-size: 1.3rem !important;
    }

    /* Navigation */
    nav ul {
        gap: 1.5rem;
    }

    nav a {
        font-size: 0.95rem;
    }

    /* Section Titles */
    .section-title {
        font-size: 2.5rem;
    }

    /* Sponsors Section */
    .sponsors-call-section h2 {
        font-size: 2.5rem;
    }

    .sponsor-email {
        font-size: 1.5rem;
    }

    .sponsor-phone {
        font-size: 1.2rem;
    }
}

/* Mobile Landscape and Below (max-width: 768px) */
@media (max-width: 768px) {

    /* Header & Navigation */
    header {
        padding: 0.5rem 0;
    }

    nav {
        position: relative;
    }

    .mobile-menu-toggle {
        display: block;
        background: none;
        border: none;
        color: var(--primary-color);
        font-size: 1.8rem;
        cursor: pointer;
        padding: 0.5rem;
    }

    .nav-links {
        display: none;
        /* Hidden by default on mobile */
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        gap: 0;
        padding: 1rem 0;
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
        z-index: 1001;
    }

    .nav-links.active {
        display: flex;
        /* Shown when toggled */
    }

    .nav-links a {
        display: block;
        padding: 1rem 2rem;
        width: 100%;
        border-bottom: 1px solid var(--border-color);
    }

    .nav-links a:last-child {
        border-bottom: none;
    }

    .nav-links .btn-primary {
        margin: 1rem 2rem;
        text-align: center;
        width: calc(100% - 4rem);
    }

    /* Hero Section - Maximum View Optimization */
    .hero {
        padding: 6rem 1rem 4rem;
        min-height: 70vh;
        display: flex;
        align-items: center;
    }

    .hero h1 {
        font-size: 2.2rem;
        margin-bottom: 1.5rem;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 1.2rem;
        line-height: 1.5;
        margin-bottom: 2rem;
    }

    .hero-date,
    .hero-location {
        font-size: 1.2rem !important;
        margin-bottom: 0.5rem !important;
    }
}

/* Mobile Portrait (max-width: 480px) */
@media (max-width: 480px) {

    /* Header - Stack navigation on very small screens */
    header .container {
        flex-direction: column;
        gap: 1rem;
    }

    nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem;
    }

    nav a {
        font-size: 0.85rem;
        padding: 0.4rem 0.6rem;
    }

    .register-btn {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }

    /* Hero Section - Fix text clipping */
    .hero {
        padding: 6rem 0 3rem;
        min-height: auto;
    }

    .hero h1 {
        font-size: 1.5rem;
        line-height: 1.3;
        margin-bottom: 0.8rem;
        padding-top: 1rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        line-height: 1.5;
        margin-bottom: 1rem;
    }

    .hero-location {
        font-size: 1.1rem !important;
        margin-bottom: 0.8rem !important;
    }

    .hero-announcement {
        padding: 1rem;
        margin-top: 1.5rem;
    }

    .badge {
        font-size: 0.8rem;
        padding: 0.3rem 0.8rem;
    }

    .date {
        font-size: 0.9rem;
    }

    /* Section Padding */
    :root {
        --section-padding: 3rem 1rem;
    }

    /* Section Titles */
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }

    /* About Section */
    .about-text p {
        font-size: 1rem;
        margin-bottom: 1rem;
    }

    /* Social Links Mobile */
    .social-links {
        gap: 1.5rem;
    }

    .social-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .slideshow-container {
        height: 300px;
    }

    /* Poster Section */
    .poster-img {
        max-width: 100%;
    }

    .cta-grid {
        gap: 1.5rem;
    }

    .cta-box {
        padding: 1.5rem;
    }

    .cta-text {
        font-size: 1.2rem;
    }

    .cta-sub {
        font-size: 0.9rem;
    }

    .cta-box i {
        font-size: 2rem;
    }

    /* Sponsors */
    .sponsors-call-section {
        padding: 3rem 1rem;
    }

    .sponsors-call-section h2 {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }

    .sponsor-text {
        font-size: 1rem;
    }

    .sponsor-contact-box {
        padding: 1rem;
    }

    .sponsor-email {
        font-size: 1.1rem;
        margin: 0.8rem 0;
    }

    .sponsor-phone {
        font-size: 1rem;
    }

    /* Footer */
    footer p {
        font-size: 0.85rem;
    }
}

/* Extra Small Mobile (max-width: 375px) */
@media (max-width: 375px) {
    .hero h1 {
        font-size: 1.3rem;
        padding-top: 1.5rem;
    }

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

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

    .slideshow-container {
        height: 250px;
    }
}