/* ====================================
   CONFIGURAÇÕES GERAIS
==================================== */

:root{
    --azul:#0C3C60;
    --azul-claro:#1F5F8B;
    --dourado:#C6A15B;
    --verde:#255D4A;
    --cinza-claro:#F4F6F8;
}

html{
    scroll-behavior:smooth;
}

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family:'Poppins',sans-serif;
    background:var(--cinza-claro);
    color:#333;
    line-height:1.6;
    overflow-x:hidden;
    padding-top:100px;
}

section{
    padding:80px 0;
    scroll-margin-top:90px;
}

.container{
    width:90%;
    max-width:1200px;
    margin:auto;
}

h2{
    text-align:center;
    margin-bottom:30px;
    color:var(--azul);
}

/* ====================================
   HEADER
==================================== */

.header{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    z-index:999;
    background:rgba(255,255,255,.95);
    backdrop-filter:blur(8px);
    box-shadow:0 2px 15px rgba(0,0,0,.08);
}

.header .container{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:14px 0;
}

.logo img{
    height:100px;
}

/* ====================================
   MENU
==================================== */

nav ul{
    display:flex;
    list-style:none;
    gap:25px;
}

nav a{
    text-decoration:none;
    color:var(--azul);
    font-weight:600;
    transition:.3s;
}

nav a:hover{
    color:var(--dourado);
}

/* ====================================
   MENU HAMBÚRGUER
==================================== */

.menu-toggle{
    display:none;
    flex-direction:column;
    gap:5px;
    cursor:pointer;
}

.menu-toggle span{
    width:28px;
    height:3px;
    background:var(--azul);
    border-radius:4px;
}

/* ====================================
   HERO
==================================== */

.hero{
    position:relative;
    height:90vh;
    display:flex;
    align-items:center;
    justify-content:center;
    text-align:center;
    overflow:hidden;
    color:white;
    margin-top: -15px;
}

.hero-bg{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center center;
}

.hero::after{
    content:"";
    position:absolute;
    inset:0;
    background:rgba(0,0,0,.35);
}

.hero-content{
    position:relative;
    z-index:2;
    padding:20px;
    transform:translateY(-35px);
}

.hero h1{
    font-size:clamp(1.8rem,6vw,3.5rem);
    font-weight:700;
    line-height:1.1;
    text-transform:uppercase;
    text-shadow:2px 2px 8px rgba(0,0,0,.7);
}
.hero-buttons{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:12px;
    flex-wrap:wrap;
    margin-top:25px;
}

.subtitulo-hero{
    margin-top:15px;
    font-size:1.2rem;
    font-weight:500;
    color:#FFFFFF;
    text-shadow:2px 2px 8px rgba(0,0,0,.8);
}

.hero-city{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    margin:0;
    padding:10px 18px;
    border-radius:30px;
    background:rgba(255,255,255,.10);
    border:1px solid rgba(255,255,255,.25);
    backdrop-filter:blur(4px);
    font-size:.95rem;
    font-weight:600;
    letter-spacing:1px;
}

/* ====================================
   BOTÃO
==================================== */

.btn{
    display:inline-block;
    padding:12px 28px;
    border-radius:30px;
    text-decoration:none;
    font-weight:600;
    background:rgba(255,255,255,.10);
    border:1px solid rgba(255,255,255,.25);
    backdrop-filter:blur(4px);
    color:white;
    outline:none;
    box-shadow:none;
    transition:.3s;
}

.btn:hover{
    transform:translateY(-2px);
    opacity:.95;
}

/* ====================================
   SOBRE
==================================== */

.sobre{
    background:#F8F9FA;
    text-align:center;
    margin: 0;
}

/* ====================================
   PROGRAMAÇÃO
==================================== */

.programacao{
    background:var(--verde);
}

.programacao h2{
    color:var(--dourado);
}

.cards{
    display:flex;
    gap:20px;
    justify-content:center;
    flex-wrap:wrap;
}

.card{
    width:280px;
    background:white;
    padding:25px;
    border-radius:12px;
    text-align:center;
    box-shadow:0 5px 15px rgba(0,0,0,.12);
}

/* ====================================
   EVENTOS
==================================== */

.evento{
    background:white;
    padding: 30px 0;
}
.evento-card{
    display:flex;
    justify-content:center;
    margin-top: 25px;
}

.evento-card img{
    width:100%;
    max-width:320px;
    border-radius:12px;
    box-shadow:0 5px 15px rgba(0,0,0,.15);
}

.evento h2{
 margin: 0;
}

.evento h3{
    text-align: center;
    font-size: 0.9rem;
    font-weight: 400;
    color: #666;
    margin: 0;
}

.evento .container{
    padding: 0;
}

.evento h2,
.evento h3{
    margin: 0;
}
/* ====================================
   GALERIA
==================================== */

.galeria{
    background:#D7D2C9;
    padding: 40px 0;
  
}

.carousel{
    overflow:hidden;
    border-radius:12px;
}

.carousel-track{
    display:flex;
    gap:15px;
    width:max-content;
    animation:slide 60s linear infinite;
}

.carousel-track img{
    width:280px;
    height:300px;
    object-fit:cover;
    border-radius:12px;
    flex-shrink:0;
    box-shadow:0 5px 15px rgba(0,0,0,.12);
}

.carousel:hover .carousel-track{
    animation-play-state:paused;
}

@keyframes slide{
    from{
        transform:translateX(0);
    }
    to{
        transform:translateX(-50%);
    }
}

/* ====================================
   LOCALIZAÇÃO
==================================== */

.localizacao{
    background:#454754;
    color:white;
    text-align:center;
    padding:60px 0 0;
    
}
.localizacao h2 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 5px; /* controla o espaço abaixo do título */
    transform: translateY(-30px);
}

.localizacao p {
    color: white;
    margin-top: 0; /* remove espaço extra */
    transform: translateY(-20px);
}


.localizacao iframe{
    width:100%;
    height:400px;
    border:0;
    display:block;
    margin-top:30px;
}

/* ====================================
   CONTATO
==================================== */

.contato{
    background:#B78855;
    color:white;
    text-align:center;
    padding:30px 0;
}

.contato h2{
    color:white;
    margin-bottom:10px;
}

.contato a{
    color:white;
    text-decoration:none;
    font-weight:600;
}

/* ====================================
   FOOTER
==================================== */

footer{
    background: #102A21;
    text-align: center;
    padding: 30px 20px;
}

.footer-copy{
    color: rgba(255,255,255,.75);
    font-size: .9rem;
    letter-spacing: .5px;
}

/* ====================================
   BOTÕES FLUTUANTES
==================================== */

.whatsapp-float,
.instagram-float{
    position:fixed;
    bottom:20px;
    width:45px;
    height:45px;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    color:white;
    text-decoration:none;
    font-size:20px;
    z-index:9999;
    box-shadow:0 5px 15px rgba(0,0,0,.25);
    transition:.3s;
}

.whatsapp-float{
    right:15px;
    background:#25D366;
}

.instagram-float{
    right:70px;
    background:#E1306C;
}

.whatsapp-float:hover,
.instagram-float:hover{
    transform:scale(1.1);
}

/* ====================================
   ANIMAÇÕES
==================================== */

.hidden{
    opacity:0;
    transform:translateY(40px);
    transition:.6s;
}

.show{
    opacity:1;
    transform:translateY(0);
}
 
.sobre
.evento,
.galeria,
.localizacao {
        scroll-margin-top: 140px;
    }
.evento {
    scroll-margin-top: 130px;
}
/* ====================================
   RESPONSIVO
==================================== */

@media(max-width:768px){

    .menu-toggle{
        display:flex;
    }

    nav{
        position:absolute;
        top:80px;
        left:0;
        width:100%;
        background:white;
        display:none;
        box-shadow:0 10px 20px rgba(0,0,0,.1);
    }

    nav.active{
        display:block;
    }

    nav ul{
        flex-direction:column;
        gap:15px;
        padding:20px;
        text-align:center;
    }

    /* HERO */

    .hero{

        min-height:80vh;
        padding: 80px 0;
        display:flex;
        justify-content:center;
        align-items:center;
        text-align:center;
        margin-top:0px;
        height: 5vh;

        background:linear-gradient(
            10deg,
            #1A100B 0%,
            #2C1F17 30%,
            #1A100B 100%
        );
    }

.hero-content{
    width:100%;
    max-width:100%;
    margin:0 auto;
    transform:translateY(-15px);
    margin-top: -120px;
}

.hero-bg{
    object-fit:contain;
    object-position:center 90%;
}

    .hero h1{
        font-size:2rem;
        line-height:1.15;
    }

    .subtitulo-hero{
        font-size:1rem;
        line-height:1.4;
        padding-top: 5px;
        
    }

    .hero-city{
        font-size:.9rem;
        padding:8px 15px;
        padding-top: 20px;
    }

     .hero-text {
        margin-top: -200px;
    }
    .hero-buttons{
        margin-top: -20px;
       
    }


    /* LOGO */

    .logo img{
        height:75px;
    }

    /* PROGRAMAÇÃO */

    .programacao{

        padding-top: -15px;
    }

    .cards{
        flex-direction:column;
        align-items:center;
    }

    .card{
        width:100%;
        max-width:350px;
    }

    /* EVENTOS */

    .evento-card{
        padding:0 15px;
    }

    .evento-card img{
        width:100%;
        max-width:320px;
        margin:0 auto;
    }

    /* GALERIA */

    .carousel-track img{
        width:220px;
        height:180px;
    }

    /* MAPA */

    .localizacao iframe{
        height:320px;
    }

    /* BOTÕES FLUTUANTES */

    .whatsapp-float{
        right:15px;
    }

    .instagram-float{
        right:65px;
    }

}

