body {
    margin: 0;
    padding: 0;
    font-family: "Poppins", sans-serif;
    background-color: #fbe1fa !important;
    color: #747474; 
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
p{
    color: #747474;
}
h3{
    color:#747474;
}
header {
    background-color: #c51e80;
    border-bottom:4px solid #c51e80;
    border-top:4px solid #c51e80;
    padding: 10px 20px;
    position: fixed;
    height:60px;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box;
}
.logo-container {
    display: flex;
    align-items: center;
    text-decoration: none;
}
.logo {
    margin-right:3px;
    padding:5px;
  }
.quarto{
    color: #c51e80;
    background-color: #fff;
    padding: 2px 6px;
    border-radius: 50%;
}

body.scrolled .logo {
    transform: scale(0.8); 
  }
.logo-text {
    font-size: 1.8rem;
    font-weight: 600;
    color: #fff;
}
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    transition: all 0.3s ease;
}
.hamburger div {
    width: 25px;
    height: 4px;
    background-color: #ffffff;
    margin: 3px 0;
    transition: 0.4s;
}
nav {
    display: flex;
}
nav a {
    font-weight: 600;
    font-size: 1.1rem;
    color: #dbbacd;
    text-decoration: none;
    margin-left: 20px;
    transition: color 0.3s ease;
}
nav a:hover {
    color: #fff;
}.space{
    height: 60px;
}
.hero {
    height: 100vh;
    background: url('https://brcriarnaweb.cloud/passeio/images/bg-2025.webp') no-repeat center center;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #54515499;
}
.hero-content {
    text-align: center;
    position: relative;
    z-index: 1;
    padding: 20px 20px 10px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    max-width: 80%;
}
.hero-content a{
    color: #747474;
}
.btn-primary{
    background-color:#8d155b !important;
    color: #fff;
    border-color: #8d155b !important;
    text-decoration:none !important;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #d10e80 !important;
}
.lead{
    font-weight:500 !important;
}
.subtitle {
    text-align: center;
    font-size: 2rem;
    font-weight: 500;
    padding: 10px;
    border-bottom: 10px solid;
    color: #c51e80;
    border-radius: 0 0 10px 10px;
    margin-bottom: 30px;
}
.programacao {
    background-color: #fbcbe794;
    padding: 20px 20px 40px;
    text-align:center;
    border-radius:10px;
}
.destaque-logo {
    width:300px;
    background-color: #ffffffbe;
    padding: 10px;
    margin-right: 20px;
    border-radius: 40px !important;
    border: 2px solid #fae6f9;
    width:300px;
    float: left;
    padding-right:20px
}

h2 {
    font-size: 2.5rem;
}
p {
    font-size: 1rem;
    margin-bottom: 35px;
}
blockquote {
    background-color: #f9f0f8;
    margin: 0 0 1rem;
    font-size: x-large;
    color: #c51e80;
    font-style: italic;
    border: 2px solid #f7f7f7;
    padding:10px;
    border-radius: 0 10px 10px 10px;
}
.atencao{
    background-color: #7e7d7d;    
    padding:20px 10px 10px !important;
    border-radius: 4px;
    font-weight:500;
    margin-bottom: 20px;
}
.destaque, .destaque a{
    color: #c51e80;
    font-weight: 700;
}
.cta-button {
    display: inline-block;
    padding: 15px 30px;
    background-color: #d63191;
    color: #fff !important;
    text-decoration: none;
    border: 3px solid #f3a0d1;
    border-radius: 10px;
    font-size: 1.2rem;
    font-weight: 600;
    transition: all 0.3s ease;
}
.cta-button:hover {
    background-color: #c51e80;
    border: 3px solid #ffffff;
    color: #fff !important;
    transform: scale(1.1);
}
.borda1 {
    margin: 0 auto;
    width: 140px;
    border-top: 1px dotted #fbcbe7;
    margin-bottom: 0;
    padding-bottom: 0;
}
.borda1 i.fa.fa-caret-down {
    color: #fbcbe7;
    font-size: 100px;
    margin-top: -20px;
}

.partners, .partners2{
    padding: 0 20px 40px;
    text-align: center;
    background-color: #fbe1fa;
}
.participantes{
    padding: 0 20px 100px;
    text-align: center;
    background-color: #fbe1fa;
}
.partners h2, .partners2 h2, .participantes h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: #666; /* Changed to gray */
}
.partners h3, .partners2 h3, .participantes h3{
    color: #747474 !important;
    text-decoration: underline;
}
.programacao-itens{
    margin: 0 auto !important;
    display:flex;   
    justify-content: center;
}
.item {
    border: 1px dotted #ffffff91;
    background-color: #ffffffab;
    margin: 5px;
    border-radius: 5px;
    padding:10px;
}
.item img, .descricao-content img{
    max-width:100%;
    border-radius:5px;
    margin-bottom: 20px !important;
    padding: 0 !important;
    border:2px solid #fae6f9;
    background-color: #fff;
}
.item p{
    line-height:16px;
    font-size: 13px;    
}
.item h3{
    font-size:23px;
    color:#ee289c;
}
.partner-logos, .participantes-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}
video{
    max-width:50%;
    border: 2px solid #dbbacd;
}
.partner-logo {
    width: 200px;
    height: 150px;
    padding: 10px;
    background-color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    transition: transform 0.3s ease;
}
.partner-logo img{
    max-width:180px;
    max-height:130px;
}
.participante-logo {
    width: 120px;
    height: 80px;
    padding: 5px;
    background-color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 5px;
    transition: transform 0.3s ease;
}
.participante-logo img{
    max-width:120px;
    max-height:80px;
    border-radius:5px;
    padding:5px;
}
figcaption{
    font-size: 10px;
}
.partner-logo:hover {
    transform: scale(1.05);
}
.participante-logo:hover {
    transform: scale(1.05);
}
footer {
    background-color: rgba(251, 203, 231, 0.9);
    color: #666; /* Changed to gray */
    padding: 20px 0;
    text-align: center;
    margin-top: auto;
}
header .fa {
    background-color: #fff !important;
    color: #d63191 !important;
    padding: 15px !important;
    border-radius: 2px !important;
    font-size: 1.5rem !important;
    margin-right:10px !important;
}
.descricao-content{
    background-color: #f9f4f7;
    background-image: repeating-linear-gradient(45deg, #fbe1fa, transparent 100px);
    max-width: 1140px;
    margin: 40px auto 0;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    text-align: justify;
    line-height: 35px;
    padding: 0 10px 10px;
}
.descricao-content h4 {
    color: #747474;
    text-decoration:underline;
    font-size: 18px;
    text-transform:uppercase;
    font-weight: 600 !important;
    margin-bottom:20px;
}
.descricao-content ul li{
    color:#747474;
}
i.fa.fa-caret-down {
    color: #fbcbe7;
    font-size: 100px;
}
.bordatop{
    max-width: 1140px;
    margin: 40px auto;
    display: flex;
    justify-content: center;
    align-items: center;
    border-top: 5px solid #fbcbe7;
}
.footer-content {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    text-align:left;
}

.footer-section, .descricao-section {
    margin: 10px;
    flex: 1;
    min-width: 200px;
}

.footer-section h3 {
    margin-bottom: 10px;
}

.footer-section ul {
    list-style-type: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 5px;    
}

.footer-section ul li a {
    color: #666; /* Changed to gray */
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #d4157e;
}

.social-icons .fa-instagram {
    display: inline-block;
    margin: 0 10px;
    color: #666; /* Changed to gray */
    font-size: 1.5rem;
    transition: color 0.3s ease;
}
.social-icons .fa-instagram:hover{
    color:#c51e80;
}
.social-icons a{
    color:#666;
    text-decoration: none;
    transition: color 0.3s ease;
}
.social-icons a:hover {
    color: #d10e80;
}

.copyright {
    margin-top: 20px;
    font-size: 0.9rem;
    border-top: 1px dotted #a5a2a3;
    padding: 20px 10px 40px;
}
.copyright a{
    color: grey;
}
.voltar{
    display:none !important;
}
@media (max-width: 768px) {
    .voltar{
        display:block;
    }
    .hamburger {
        display: flex;
    }
    nav a {
    color: #c51e80;
    font-weight:600;
    text-align:center;
    border-bottom: 1px dotted #f976c3;
    padding-bottom: 20px;
    font-size: 1.3rem;
    }
    nav a:hover {
    color: #8d155b;
    }
    .space{
        display: none;
    }
    .logo-text{
        font-size:1rem;
    }
    header .fa{
        font-size: 30px !important;
        padding: 10px 5px!important;
        margin-right: 10px !important;
    }
    nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: rgba(251, 203, 231, 0.9);
        flex-direction: column;
        padding: 20px 0;
        border-bottom: 3px solid #fff;
        box-shadow: 0 4px 4px rgba(0, 0, 0, 0.4);
    }
    
    nav.active {
        display: flex;
    }
    
    nav a {
        margin: 10px 20px;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    .subtitle, .descricao-content h3{
        font-size:1.5rem;
    }    
    p {
        font-size: 1rem;
    }
    .descricao-content{
        margin: 90px auto 40px;
    }    
    .descricao-content img{
        width: 100%;
        float:none;
        margin: 0;
        padding: 0;
    }
    .cta-button {
        padding: 10px 20px;
        font-size: 1rem;
    }
    .partner-logos{
         gap:10px;
    }
    
    .footer-section {
        flex-basis: 100%;
        margin-bottom: 20px;
    }   
    .footer-content{
        padding-left:20px;
    }
    video{
        max-width:100%;
        border: 2px solid #dbbacd;
    }
    .participantes-logos{
        gap:10px;
    }
    .modal img {
        max-width: 1080px;
        height: auto;
        }
}
/*GALERIA FOTOS*/
.gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.thumbnail {
    width: 210px;
    cursor: pointer;
    transition: transform 0.2s;
}

.thumbnail:hover {
    transform: scale(1.05);
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
}

.modal-content {
    max-width: 100%;
    margin: auto;
    display: block;
}
.modal img{
    max-width: 800px;
    height: auto;
}
.close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

@media (max-width: 600px) {
    .thumbnail {
        width: calc(50% - 10px);
    }    
}

@media (max-width: 400px) {
    .thumbnail {
        width: 100%;
    }
}
/*popup*/
/* Fundo escurecido */
    .popup-overlay {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.6);
      display: flex;
      align-items: center;
      justify-content: center;
      visibility: hidden;
      opacity: 0;
      transition: opacity 0.3s ease, visibility 0.3s;
      z-index: 9999;
    }

    /* Mostrar popup */
    .popup-overlay.active {
      visibility: visible;
      opacity: 1;
    }

    /* Caixa do aviso */
    .popup-box {
      background: #fff;
      padding: 5px 5px 15px 5px;
      border-radius: 4px;
      max-width: 400px;
      text-align: center;
      box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    }
    img{
        max-width:100%;
    }
    .popup-box h2 {
      margin-top: 0;
      color: #333;
    }

    .popup-box p {
      color: #555;
      margin: 15px 0;
    }

    .popup-box button {
      background-color: #3a077e;
      color: #fff;
      border: none;
      padding: 10px 18px;
      border-radius: 8px;
      cursor: pointer;
    }

    .popup-box button:hover {
      background-color: #9c00cc;
    }