/* =====================================================
   RESPONSIVE.CSS
   Projeto: ARBO Eventos
===================================================== */

/* =====================================================
   NOTEBOOKS
   (1200px)
===================================================== */

@media (max-width:1200px){

    .container{

        width:min(100% - 40px,1100px);

    }

}

/* =====================================================
   TABLETS GRANDES
   (1024px)
===================================================== */

@media (max-width:1024px){

    .section{

        padding:90px 0;

    }

    .about-content{

        grid-template-columns:1fr;

        gap:50px;

    }

    .about-image{

        order:-1;

    }

    .contact-wrapper{

        grid-template-columns:1fr;

        gap:50px;

    }

    .events-counter{

        grid-template-columns:repeat(3,1fr);

        gap:20px;

    }

    .hero h1{

        font-size:3.5rem;

    }

    .hero p{

        max-width:600px;

    }

}

/* =====================================================
   TABLETS
   (900px)
===================================================== */

@media (max-width:900px){

    .nav-list{

        gap:20px;

    }

    .hero-buttons{

        flex-direction:column;

        align-items:center;

    }

    .btn{

        width:260px;

    }

    .features-grid{

        grid-template-columns:repeat(2,1fr);

    }

    .events-grid{

        grid-template-columns:repeat(2,1fr);

    }

    .gallery-grid{

        grid-template-columns:repeat(2,1fr);

    }

    .testimonials-grid{

        grid-template-columns:1fr;

    }

    .footer-grid{

        grid-template-columns:1fr 1fr;

    }

}

/* =====================================================
   SMARTPHONES E TABLETS
   (768px)
===================================================== */

@media (max-width:768px){

    /* HEADER */

    .header{

        height:80px;

    }

    .logo img{

        width:130px;

    }

    .menu-toggle{

        display:flex;

        z-index:1001;

    }

    .navbar{

        position:fixed;

        top:80px;

        right:-100%;

        width:100%;

        height:calc(100vh - 80px);

        background:#ffffff;

        transition:.35s ease;

        display:flex;

        justify-content:center;

        align-items:center;

        box-shadow:var(--shadow-md);

    }

    .nav-list{

        flex-direction:column;

        align-items:center;

        gap:35px;

    }

    .nav-list a{

        font-size:1.2rem;

        font-weight:600;

    }

    .btn-whatsapp{

        display:none;

    }

    /* HERO */

    .hero{

        height:90vh;

    }

    .hero h1{

        font-size:2.8rem;

    }

    .hero p{

        font-size:1rem;

        padding:0 15px;

    }

    .hero-buttons{

        gap:15px;

    }

    .hero-buttons .btn{

        width:100%;

        max-width:300px;

    }

    /* SEÇÕES */

    .section{

        padding:70px 0;

    }

    .section-title{

        font-size:2rem;

    }

    .section-description{

        font-size:.95rem;

    }

    /* SOBRE */

    .about-content{

        gap:35px;

    }

    .about-buttons{

        flex-direction:column;

        align-items:stretch;

    }

    /* GRIDS */

    .features-grid,

    .events-grid,

    .gallery-grid,

    .footer-grid{

        grid-template-columns:1fr;

    }

    /* CONTADORES */

    .events-counter{

        grid-template-columns:1fr;

        gap:30px;

    }

    .counter-item h2{

        font-size:2.5rem;

    }

    /* CONTATO */

    .contact-wrapper{

        grid-template-columns:1fr;

    }

    .contact-form{

        padding:30px 25px;

    }

    /* MAPA */

    .map iframe{

        height:320px;

    }

    /* FOOTER */

    .footer{

        text-align:center;

    }

    .footer-social{

        justify-content:center;

    }

}

/* =====================================================
   CELULARES PEQUENOS
   (576px)
===================================================== */

@media (max-width:576px){

    .container{

        width:min(100% - 24px,100%);

    }

    .hero h1{

        font-size:2.2rem;

    }

    .hero-subtitle{

        font-size:.95rem;

    }

    .section-title{

        font-size:1.8rem;

    }

    .about-text h3{

        font-size:1.6rem;

    }

    .feature-card,

    .event-card,

    .testimonial-card{

        padding:25px;

    }

    .gallery-item img{

        height:220px;

    }

    .scroll-top{

        width:48px;

        height:48px;

        right:18px;

        bottom:18px;

    }

}