/* General Styling (no changes to this block) */
:root {
    --color-dark-green: #1F4231;
    --color-medium-green: #3F7E5E;
    --color-light-green: #6CBE86;
    --color-dark-blue: #2E4B7A;
    --color-medium-blue: #4A7AB0;
    --color-accent-yellow: #F6D649;
    --color-white: #FFFFFF;
    --color-text-light: #F0F0F0;
    --color-text-dark: #333333;
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;
    --color-whatsapp-green: #25D366; /* WhatsApp brand color */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--color-text-light);
    background: linear-gradient(to right, #1F4231, #3F7E5E); /* Gradiente alegre */
    background-color: var(--color-dark-green); /* Fallback */
    background-image: url('desafio radical 2025.jpg'); /* Ensure this path is correct */
    background-size: cover;
    background-position: center top; /* Adjust as needed */
    background-attachment: fixed; /* Makes the background scroll with the content */
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-x: hidden; /* Prevent horizontal scroll */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    color: var(--color-accent-yellow);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--color-light-green);
}

.btn-primary {
    display: inline-block;
    background-color: var(--color-accent-yellow);
    color: var(--color-dark-blue);
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: bold;
    text-transform: uppercase;
    transition: background-color 0.3s ease, transform 0.2s ease;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background-color: var(--color-light-green);
    color: var(--color-dark-green);
    transform: translateY(-2px);
}

h1, h2, h3 {
    font-family: var(--font-heading);
    color: var(--color-white);
    margin-bottom: 20px;
}

h2 {
    font-size: 2.5em;
    text-align: center;
    text-shadow: 2px 2px 5px rgba(0,0,0,0.3);
}

p {
    margin-bottom: 15px;
}

/* Header (no changes to this block) */
.main-header {
    background-color: rgba(0, 0, 0, 0.7); /* Semi-transparent dark background */
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8em;
    color: var(--color-accent-yellow);
    font-weight: bold;
    letter-spacing: 2px;
}

.main-nav ul {
    list-style: none;
    display: flex;
}

.main-nav ul li {
    margin-left: 30px;
}

.main-nav ul li a {
    color: var(--color-white);
    font-weight: 600;
    font-size: 1.1em;
    transition: color 0.3s ease, transform 0.2s ease;
    position: relative;
    padding-bottom: 5px;
}

.main-nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--color-accent-yellow);
    transition: width 0.3s ease;
}

.main-nav ul li a:hover::after {
    width: 100%;
}

.main-nav ul li a:hover {
    color: var(--color-accent-yellow);
}

/* Mobile Navigation Toggle (Hidden on Desktop) - no changes to this block */
.nav-toggle {
    display: none; /* Hidden by default */
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    position: relative;
    z-index: 1001;
}

.nav-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--color-white);
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* Hero Section (no changes to this block) */
.hero-section {
    min-height: 80vh; /* Adjust based on content and video */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 50px 20px;
    background-color: rgba(0, 0, 0, 0.5); /* Overlay to make text readable */
    box-shadow: inset 0 0 50px rgba(0,0,0,0.8);
    flex-direction: column; /* To stack video and text vertically */
}

.hero-content {
    max-width: 800px;
    padding: 40px;
    background-color: rgba(0, 0, 0, 0.6); /* Slightly darker overlay for content */
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0,0,0,0.7);
    animation: fadeIn 1.5s ease-out;
    width: 100%; /* Ensure it takes full width within flex container */
    display: flex; /* Make content itself a flex container */
    flex-direction: column; /* Stack its children */
    align-items: center; /* Center items horizontally */
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-content h2 {
    font-size: 3.5em;
    color: var(--color-white);
    text-shadow: 3px 3px 7px rgba(0,0,0,0.5);
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.4em;
    color: var(--color-text-light);
    margin-bottom: 25px;
}

.hero-content .verse {
    font-size: 1.2em;
    font-style: italic;
    color: var(--color-accent-yellow);
    margin-top: -10px;
    margin-bottom: 30px;
}

/* Video Container for Responsiveness (no changes to this block) */
.video-container {
    position: relative;
    width: 100%; /* Take full width of parent */
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio (9 / 16 * 100) */
    height: 0;
    overflow: hidden;
    margin-bottom: 30px; /* Space between video and text */
    border-radius: 8px; /* Slightly rounded corners for the video frame */
    box-shadow: 0 5px 20px rgba(0,0,0,0.7);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}


/* Section Blocks (no changes to this block) */
.section-block {
    padding: 80px 0;
    background-color: rgba(0, 0, 0, 0.75); /* Darker background for content sections */
    margin: 40px 0;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.5);
    border-top: 5px solid var(--color-medium-green);
    border-bottom: 5px solid var(--color-medium-green);
}

.section-block h2 {
    margin-bottom: 40px;
    color: var(--color-accent-yellow);
}

.section-block p {
    color: var(--color-text-light);
    font-size: 1.1em;
    line-height: 1.8;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 20px auto;
}

/* About Section Specifics (no changes to this block) */
.about-section {
    border-color: var(--color-dark-blue);
}

/* Event Section Specifics (no changes to this block) */
.event-section {
    border-color: var(--color-light-green);
}

.event-info {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 40px;
    margin-bottom: 50px;
}

.info-box {
    background-color: var(--color-dark-blue);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    flex: 1;
    min-width: 250px;
    max-width: 300px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.4);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.info-box:hover {
    transform: translateY(-5px);
    background-color: var(--color-medium-blue);
}

.info-box h3 {
    color: var(--color-accent-yellow);
    font-size: 1.8em;
    margin-bottom: 15px;
}

.info-box p {
    font-size: 1.3em;
    font-weight: bold;
    color: var(--color-white);
    margin-bottom: 5px;
}

.info-box span {
    font-size: 0.9em;
    color: var(--color-text-light);
    opacity: 0.8;
}

.call-to-action {
    font-size: 1.5em !important;
    font-weight: bold;
    color: var(--color-accent-yellow) !important;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
    margin-top: 30px !important;
}

/* Registration Section (Now with button) - no changes to this block */
.registration-section {
    border-color: var(--color-accent-yellow);
    display: flex; /* Use flexbox to center content */
    flex-direction: column; /* Stack elements vertically */
    align-items: center; /* Center horizontally */
    text-align: center; /* Ensure text is centered too */
}

/* Optional: specific style for the registration button if different from generic .btn-primary - no changes to this block */
.btn-registration {
    margin-top: 25px; /* Space above the button */
    margin-bottom: 25px; /* Space below the button */
    font-size: 1.3em;
    padding: 15px 30px;
    max-width: 400px; /* Limit button width on larger screens */
    width: 90%; /* Responsive width */
}


/* WhatsApp Groups Section (no changes to this block) */
.whatsapp-groups-section {
    border-color: var(--color-whatsapp-green);
}

.whatsapp-group-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 40px;
}

.whatsapp-group-box {
    background-color: var(--color-medium-green); /* A nice green for WhatsApp related info */
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    flex: 1;
    min-width: 280px;
    max-width: 400px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.4);
    transition: transform 0.3s ease, background-color 0.3s ease;
    border: 2px solid var(--color-whatsapp-green);
}

.whatsapp-group-box:hover {
    transform: translateY(-5px);
    background-color: var(--color-whatsapp-green); /* Darker on hover */
}

.whatsapp-group-box h3 {
    color: var(--color-white);
    font-size: 1.8em;
    margin-bottom: 15px;
}

.whatsapp-group-box h3 .fab {
    margin-right: 10px;
    color: var(--color-accent-yellow); /* Icon color */
}

.whatsapp-group-box p {
    color: var(--color-text-light);
    font-size: 1.1em;
    margin-bottom: 25px;
}

.btn-whatsapp {
    display: inline-block;
    background-color: var(--color-white); /* White button */
    color: var(--color-whatsapp-green); /* Green text */
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: bold;
    text-transform: uppercase;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
    border: none;
    cursor: pointer;
}

.btn-whatsapp:hover {
    background-color: var(--color-dark-green); /* Darker on hover */
    color: var(--color-white);
    transform: translateY(-2px);
}

/* Contact Section (no changes to this block) */
.contact-section {
    border-color: var(--color-dark-green);
    text-align: center;
}

.contact-info a {
    font-size: 1.8em;
    font-weight: bold;
    margin-top: 20px;
    display: block;
    color: var(--color-whatsapp-green); /* WhatsApp number link green */
}

.contact-info a:hover {
    color: var(--color-white);
}

.contact-info a .fab {
    margin-right: 10px;
}

.social-media {
    font-size: 1.2em;
    margin-top: 20px;
    color: var(--color-text-light); /* Ensure text is visible */
}

.social-media a {
    margin: 0 10px;
    color: var(--color-white); /* Default social icon color */
    transition: color 0.3s ease;
}

.social-media a:hover {
    color: var(--color-accent-yellow); /* Hover color for all social icons */
}

/* Specific Instagram hover color - no changes to this block */
.social-media a .fa-instagram:hover {
    color: #E1306C; /* Instagram brand color */
}


/* Footer (no changes to this block) */
.main-footer {
    background-color: rgba(0, 0, 0, 0.8);
    color: var(--color-text-light);
    text-align: center;
    padding: 25px 0;
    margin-top: auto; /* Pushes footer to the bottom */
    box-shadow: 0 -2px 10px rgba(0,0,0,0.5);
    border-top: 3px solid var(--color-medium-green);
}

.main-footer p {
    margin-bottom: 0;
    font-size: 0.9em;
    color: var(--color-text-light);
}

/* --- Main Banner Modal Styles (Revised) --- */
#mainBannerModal {
    border: none;
    padding: 0;
    background-color: rgba(0, 0, 0, 0.9); /* Darker overlay for the modal */
    border-radius: 10px;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.8);
    overflow: hidden; /* Ensure content doesn't overflow rounded corners */

    /* The browser's native `dialog` behavior typically handles centering.
       We primarily define its appearance and the size of its internal content. */
    width: fit-content; /* Allow dialog to size to its content */
    height: fit-content;
    max-width: 90vw; /* Set max width relative to viewport */
    max-height: 90vh; /* Set max height relative to viewport */
}

/* Styling the backdrop behind the dialog - no changes to this block */
#mainBannerModal::backdrop {
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px); /* Optional: blur the background content */
}

.modal-content {
    position: relative; /* For positioning the close button */
    display: flex;
    flex-direction: column; /* Stack image and any future text vertically */
    justify-content: center; /* Center vertically */
    align-items: center; /* Center horizontally */
    width: 100%;
    height: 100%;
    padding: 20px; /* Add some padding around the image inside the modal */
}

.banner-image {
    max-width: 100%;
    max-height: 100%;
    display: block; /* Remove extra space below image */
    object-fit: contain; /* Ensures the image fits within its container without cropping */
    border-radius: 8px; /* Slightly round the image corners if desired */
}

.close-modal-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--color-accent-yellow);
    color: var(--color-dark-blue);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 1.8em;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.3s ease, color 0.3s ease;
    z-index: 10; /* Ensure it's above the image */
}

.close-modal-btn:hover {
    background-color: var(--color-white);
    color: var(--color-dark-green);
}


/* Responsiveness (minor modal adjustments) */
@media (max-width: 768px) {
    .main-header .container {
        flex-direction: column;
        align-items: flex-start;
    }

    .main-nav {
        width: 100%;
        margin-top: 15px;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.5s ease-out;
        background-color: rgba(0, 0, 0, 0.9);
        border-radius: 5px;
    }

    .main-nav.active {
        max-height: 350px; /* Adjusted for new menu item */
        padding-bottom: 10px;
    }

    .main-nav ul {
        flex-direction: column;
        text-align: center;
        padding: 10px 0;
    }

    .main-nav ul li {
        margin: 10px 0;
    }

    .nav-toggle {
        display: block; /* Show on smaller screens */
        position: absolute;
        right: 20px;
        top: 20px;
    }

    .hero-content h2 {
        font-size: 2.5em;
    }

    .hero-content p {
        font-size: 1.1em;
    }

    .section-block {
        padding: 50px 0;
        margin: 20px 10px;
    }

    h2 {
        font-size: 2em;
    }

    .event-info,
    .whatsapp-group-links { /* Apply to both flex containers */
        flex-direction: column;
        align-items: center;
    }

    .info-box,
    .whatsapp-group-box { /* Apply to both info boxes */
        width: 90%;
        max-width: 400px;
    }

    .video-container {
        padding-bottom: 75%; /* Adjust for 4:3 aspect ratio on smaller screens if needed, or keep 16:9 */
    }

    .btn-registration {
        font-size: 1.1em;
        padding: 12px 20px;
        width: 90%; /* Ensure it's responsive */
    }

    /* Modal responsiveness */
    #mainBannerModal {
        max-width: 95vw; /* Slightly more space on smaller screens */
        max-height: 95vh;
    }
    .modal-content {
        padding: 15px; /* Reduce padding on smaller screens */
    }
    .close-modal-btn {
        width: 35px;
        height: 35px;
        font-size: 1.5em;
        top: 10px;
        right: 10px;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 1.5em;
    }

    .hero-content h2 {
        font-size: 2em;
    }

    .hero-content p {
        font-size: 1em;
    }

    h2 {
        font-size: 1.8em;
    }

    .contact-info a {
        font-size: 1.5em;
    }

    .social-media {
        font-size: 1em;
    }

    .modal-content {
        padding: 10px; /* Further reduce padding on very small screens */
    }
}

.pulse {
  animation: pulse-animation 2s infinite;
}

@keyframes pulse-animation {
  0% { transform: scale(1); box-shadow: 0 0 0 rgba(246, 214, 73, 0.7); }
  70% { transform: scale(1.05); box-shadow: 0 0 15px rgba(246, 214, 73, 0.7); }
  100% { transform: scale(1); box-shadow: 0 0 0 rgba(246, 214, 73, 0); }
}

.highlight {
  color: #F6D649;
  font-size: 1.2em;
  display: inline-block;
  margin-bottom: 10px;
}

.testimonial-section {
    border-color: var(--color-accent-yellow);
    background: rgba(255, 255, 255, 0.05);
    text-align: center;
}

.testimonial-box {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 10px;
    color: #fff;
    box-shadow: 0 0 15px rgba(0,0,0,0.3);
}

.testimonial-box .author {
    margin-top: 15px;
    font-style: italic;
    color: var(--color-accent-yellow);
}
.video-wrapper {
  position: relative;
  width: 100%;
  max-width: 800px;
  margin: 0 auto 30px;
}

.video-cover {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  background-color: #000;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.7);
  cursor: pointer;
  z-index: 2;
}

.video-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
}

#playButton {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(255, 255, 255, 0.8);
  border: none;
  border-radius: 50%;
  padding: 20px;
  font-size: 2em;
  color: var(--color-dark-green);
  transition: background 0.3s ease;
}

#playButton:hover {
  background: #f6d649;
  color: #000;
}

.video-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.7);
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.image-slider-section {
  border-color: var(--color-light-green);
  text-align: center;
}

.slider {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 20px;
  padding: 20px 0;
}

.slider img {
  scroll-snap-align: start;
  flex: 0 0 auto;
  width: 300px;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.5);
}
.floating-whatsapp {
  position: fixed;
  bottom: 80px;
  right: 20px;
  width: 60px;
  height: 60px;
  background-color: var(--color-whatsapp-green);
  color: white;
  border-radius: 50%; /* Garantir formato redondo */
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
  z-index: 1000;
  transition: background-color 0.3s ease;
  text-decoration: none; /* Remove sublinhado do ícone */
  padding: 0; /* Remove preenchimento extra */
  box-sizing: border-box; /* Garante que largura = área útil */
}


.slider-wrapper {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.4);
}

.slider {
  display: flex;
  transition: transform 0.5s ease-in-out;
  width: fit-content;
}
.location-section {
  margin-top: 50px;
}

.map-container iframe {
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px; /* Espaço entre logo e texto */
}

.logo-img {
  height: 40px; /* Ajuste o tamanho da logo conforme necessário */
  width: 90px;
}

