/* Reset e Estilos Básicos */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Montserrat", sans-serif;
  color: #333;
  background-color: #f8f9fa;
  line-height: 1.6;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: #022843;
  margin-bottom: 1rem;
}

h1 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  text-align: center;
}

h2 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
}

h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1rem;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

/* Botões */
.btn {
  display: inline-flex;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  font-family: "Montserrat", sans-serif;
  gap: 0.5rem;
}

.btn i {
  margin-right: 0.5rem;
}

.btn-primary {
  background-color: #f68e30;
  color: white;
}

.btn-primary:hover {
  background-color: #e07a20;
}

.btn-secondary {
  background-color: #022843;
  color: white;
}

.btn-secondary:hover {
  background-color: #01182b;
}

/* Ícones */
[class^="icon-"] {
  display: inline-block;
  width: 1em;
  height: 1em;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  vertical-align: middle;
}

.icon-location {
  background-image: url("../img/icons/map-pin.svg");
}

.icon-mail {
  background-image: url("../img/icons/mail.svg");
}

.icon-phone {
  background-image: url("../img/icons/phone.svg");
}

.icon-instagram {
  background-image: url("../img/icons/instagram.svg");
}

.icon-facebook {
  background-image: url("../img/icons/facebook.svg");
}

.icon-youtube {
  background-image: url("../img/icons/youtube.svg");
}

.icon-external-link {
  background-image: url("../img/icons/external-link.svg");
}

.icon-send {
  background-image: url("../img/icons/send.svg");
}

.icon-chevron-left {
  background-image: url("../img/icons/chevron-left.svg");
}

.icon-chevron-right {
  background-image: url("../img/icons/chevron-right.svg");
}

/* Cabeçalho */
.header {
  background-color: #022843;
  color: white;
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 70px;
  width: auto;
}

.nav-desktop ul {
  display: flex;
  gap: 2rem;
}

.nav-desktop a {
  font-weight: 500;
  position: relative;
}

.nav-desktop a:hover {
  color: #f68e30;
}

.nav-desktop a.active {
  color: #f68e30;
}

.nav-desktop a.active::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #f68e30;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: white;
  margin: 5px 0;
  transition: all 0.3s ease;
}

/* Menu Mobile */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: #022843;
  z-index: 200;
  display: none;
  flex-direction: column;
  padding: 2rem;
}

.mobile-menu.active {
  display: flex;
}

.mobile-menu-header {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 2rem;
}

.close-menu {
  background: none;
  border: none;
  cursor: pointer;
  position: relative;
  width: 30px;
  height: 30px;
}

.close-menu span {
  position: absolute;
  width: 30px;
  height: 3px;
  background-color: white;
  top: 50%;
  left: 0;
}

.close-menu span:first-child {
  transform: rotate(45deg);
}

.close-menu span:last-child {
  transform: rotate(-45deg);
}

.mobile-menu nav {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.mobile-menu ul {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  text-align: center;
}

.mobile-menu a {
  color: white;
  font-size: 1.5rem;
  font-weight: 500;
}

.mobile-menu a:hover {
  color: #f68e30;
}

/* Rodapé */
.footer {
  background-color: #022843;
  color: white;
  padding: 3rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-info p {
  display: flex;
  margin-bottom: 0.5rem;
  gap: 0.5rem;
}

.footer-info i {
  margin-right: 0.5rem;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links a:hover {
  color: #f68e30;
}

.social-icons {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: center;
}


.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  transition: background-color 0.3s ease;
}

.social-icons a:hover {
  background-color: #f68e30;
}

.social-icons i {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.footer-copyright {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
}

/* Página Inicial */
.welcome-section {
  padding: 4rem 0;
}

.image-row {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2rem;
}

.church-image {
  width: 100%;
  max-width: 600px;
  border-radius: 8px;
  box-shadow: 0 200px 200px rgba(0, 0, 0, 0.1);
}

.text-content {
  text-align: justify;
  max-width: 300rem;
  margin: 0 auto;
  justify-content: justify;
}


.location-section {
  padding: 4rem 0;
  background-color: #f0f0f0;
}

.map-container {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  margin-bottom: 1.5rem;
}

.address {
  display: flex;
  justify-content: center;
  font-size: 1.1rem;
  gap: 0.5rem;
}

.address i {
  margin-right: 0.5rem;
  color: #f68e30;
}

/* Adicionando estilos para a seção de reforma na página inicial */

.reforma-cta-section {
padding: 4rem 0;
background-color: #f0f0f0;
}

.reforma-cta-card {
display: grid;
grid-template-columns: 3fr 2fr;
gap: 2rem;
background-color: white;
border-radius: 8px;
overflow: hidden;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.reforma-cta-content {
padding: 2rem;
}

.reforma-cta-progress {
margin: 1.5rem 0;
}

.mini-progress-bar {
height: 10px;
background-color: #e0e0e0;
border-radius: 5px;
overflow: hidden;
margin-bottom: 0.5rem;
}

.mini-progress-fill {
height: 100%;
background: linear-gradient(90deg, #f68e30 0%, #f9a55c 100%);
border-radius: 5px;
width: 35%; /* Valor fixo para demonstração */
}

.progress-text {
font-size: 0.9rem;
color: #555;
font-weight: 500;
}

.reforma-cta-image img {
width: 100%;
height: 100%;
object-fit: cover;
}

/* Estilos responsivos para a seção de reforma */
@media (max-width: 768px) {
.reforma-cta-card {
  grid-template-columns: 1fr;
}

.reforma-cta-image {
  height: 250px;
  order: -1;
}
}

/* Página de Mídias */
.midias-section {
  padding: 4rem 0;
}

.carousel-container {
  position: relative;
  margin-bottom: 3rem;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.carousel {
  position: relative;
  height: 500px;
}

.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease;
}

.carousel-slide.active {
  opacity: 1;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-indicators {
  position: absolute;
  bottom: 20px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.indicator.active {
  background-color: #f68e30;
}


.midias-info {
  background-color: #f0f0f0;
  padding: 2rem;
  border-radius: 8px;
  margin-bottom: 3rem;
}

.social-section {
  text-align: center;
}

.social-grid {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 1.5rem;
}

.social-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background-color: #022843;
  color: white;
  transition: background-color 0.3s ease;
}

.social-icon:hover {
  background-color: #f68e30;
}

.social-icon i {
  font-size: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Página de Calendário */
.calendar-section {
  padding: 4rem 0;
}

.calendar-container {
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  margin-bottom: 2rem;
}

.calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #022843;
  color: white;
  padding: 1rem;
}

.calendar-container i {
  display: flex;
  align-items: center;
  justify-content: center;
}
#current-month-year {
  color: #ffffff;
}

.calendar-nav-btn {
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
}

.calendar-nav-btn:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  font-weight: 500;
  background-color: #f0f0f0;
}

.weekdays div {
  padding: 10px;
}

.days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
}

.day {
  height: 100px;
  padding: 10px;
  border: 1px solid #e0e0e0;
  position: relative;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.day:hover {
  background-color: #f0f0f0;
}

.day.selected {
  background-color: #d2effc;
  color: black;
}

.day.today {
  background-color: #e6f7ff;
}

.day-number {
  position: absolute;
  top: 5px;
  left: 5px;
  font-weight: 500;
}

.event-indicator {
  position: absolute;
  bottom: 5px;
  right: 5px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #f68e30;
}

.events-container {
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  padding: 1.5rem;
}

.event-item {
  border-left: 4px solid #f68e30;
  padding-left: 1rem;
  margin-bottom: 1rem;
}

.event-item h4 {
  margin-bottom: 0.25rem;
}

.no-events {
  color: #666;
  font-style: italic;
}
#popup-overlay {
      display: none;
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0,0,0,0.6);
      z-index: 999;
    }

    #popup {
      display: none;
      width: 90%;
      max-width: 600px;
      background: white;
      border-radius: 8px;
      padding: 20px;
      position: fixed;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      box-shadow: 0 0 20px rgba(0,0,0,0.5);
      z-index: 1000;
      text-align: center;
    }

    #popup img {
      width: 100%;
      border-radius: 6px;
      margin-bottom: 15px;
    }

    #popup h2 {
      margin-top: 0;
    }

    #popup button {
      background-color: #007BFF;
      color: white;
      border: none;
      padding: 10px 20px;
      margin: 10px 5px 0;
      border-radius: 5px;
      cursor: pointer;
      font-size: 16px;
    }

    #popup .close-btn {
      background: none;
      color: #ffffff;
      font-size: 22px;
      border: none;
      position: absolute;
      top: 10px;
      right: 15px;
      cursor: pointer;
    }

/* Estilo do Pop-up */
.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 999;
}

.popup {
    display: none;
    width: 90%;
    max-width: 600px;
    background: white;
    border-radius: 8px;
    padding: 20px;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    z-index: 1000;
    text-align: center;
}

.popup.active,
.popup-overlay.active {
    display: block;
}

.popup img {
    width: 100%;
    border-radius: 6px;
    margin-bottom: 15px;
}

.popup h2 {
    margin-top: 0;
}

.popup button {
    background-color: #007BFF;
    color: white;
    border: none;
    padding: 10px 20px;
    margin: 10px 5px 0;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}

.popup .close-btn {
    background: none;
    color: #333;
    font-size: 22px;
    border: none;
    position: absolute;
    top: 10px;
    right: 15px;
    cursor: pointer;
}

/* Página de Contato */
.contact-section {
  padding: 4rem 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 2rem;
}

.contact-form-container {
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  padding: 2rem;
}

.form-success {
  background-color: #d4edda;
  color: #155724;
  padding: 1rem;
  border-radius: 4px;
  margin-bottom: 1.5rem;
  display: none;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: "Montserrat", sans-serif;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #022843;
  box-shadow: 0 0 0 2px rgba(2, 40, 67, 0.1);
}

.error-message {
  color: #dc3545;
  font-size: 0.875rem;
  margin-top: 0.25rem;
  display: none;
}

.info-card,
.schedule-card {
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  padding: 2rem;
  margin-bottom: 2rem;
}

.schedule-card {
  background-color: #022843;
  color: white;
}

.schedule-card h2 {
  color: white;
}

.schedule-card h3 {
  color: #f68e30;
  margin-bottom: 0.25rem;
}

.info-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.info-item i {
  color: #f68e30;
  font-size: 1.5rem;
  margin-right: 1rem;
  margin-top: 0.25rem;
}

.info-item h3 {
  margin-bottom: 0.25rem;
}

.schedule-item {
  margin-bottom: 1.5rem;
}

.schedule-item:last-child {
  margin-bottom: 0;
}

/* Estilização da caixa de doação */
.cart-container {
margin-top: 2rem;
display: flex;
flex-direction: column;
justify-content: flex-start; /* Alinha o conteúdo no topo */
}

.cart-container h2 {
font-size: 1.5rem;
margin-bottom: 1rem;
text-align: center;
color: #022843;
}

.cart-box {
background-color: #fff;
border: 1px solid #ddd;
border-radius: 8px;
padding: 1.5rem;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.cart-box ul {
list-style: none;
padding: 0;
margin-bottom: 1rem;
}

.cart-box ul li {
display: flex;
justify-content: space-between;
align-items: center;
padding: 0.5rem 0;
border-bottom: 1px solid #eee;
}

.cart-box ul li:last-child {
border-bottom: none;
}

#cart-total {
font-weight: bold;
text-align: right;
margin-bottom: 1rem;
color: #022843;
}

#finalize-order-btn {
width: 100%;
margin-bottom: 1rem;
}

/* Estilo para o parágrafo de redirecionamento */
.cart-box p {
text-align: center;
font-size: 0.9rem;
color: #555;
margin-top: 1rem;
}

/* Ajuste do layout para alinhar as seções */
.options-grid {
display: grid;
grid-template-columns: 1fr 1fr; 
gap: 2rem;
align-items: stretch; 
}


/* Garantir que o conteúdo interno do carrinho esteja alinhado ao topo */
.cart-container {
display: flex;
flex-direction: column;
justify-content: flex-start;
height: 100%; 
}

/* Ajuste para a seção de seleção de valores */
.donation-options {
display: flex;
flex-direction: column;
justify-content: flex-start;
height: 100%; 
}

/* Estilo para o acordeão */
.accordion-header {
cursor: pointer;
background-color: #ffffff; 
padding: 1rem; 
border: 1px solid #ddd;
margin-bottom: 0.5rem;
font-weight: 500; 
font-size: 1rem;
display: flex;
justify-content: space-between;
align-items: center;
border-radius: 8px; 
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); 
transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.accordion-header:hover {
background-color: #f9f9f9;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15); 
}

.accordion-header.active {
background-color: #f0f0f0; 
}

/* Estilo para o conteúdo do acordeão */
.accordion-content {
max-height: 0;
overflow: hidden;
transition: max-height 0.3s ease, padding 0.3s ease;
padding: 0 1rem; 
font-size: 0.95rem; 
line-height: 1.6;
background-color: #fafafa; 
border-left: 1px solid #ddd;
border-right: 1px solid #ddd;
border-bottom: 1px solid #ddd;
border-radius: 0 0 8px 8px; 
}

.accordion-content p {
margin: 1rem; 
color: #555; 
}

.video-container iframe {
width: 100%;
height: 315px;
border: 0;
border-radius: 8px;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
margin-bottom: 1rem;
}

.video-item {
margin-bottom: 2rem;
text-align: center;
}

.video-item p {
font-size: 1rem;
color: #555;
margin-top: 0.5rem;
}

/* Estilos para a seção de inscrição */
.inscricao-section {
    padding: 4rem 0;
}

.inscricao-section p {
    font-size: 1rem; 
    line-height: 1.5; 
    color: #333; 
    margin-bottom: 1.5rem; 
    margin-top: 0.5rem;
    text-align: center; 
}

.inscricao-form {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    max-width: 600px;
    margin: 0 auto;
}

.inscricao-form .form-group {
    margin-bottom: 1.5rem;
}

.inscricao-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.inscricao-form input,
.inscricao-form select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: "Montserrat", sans-serif;
    transition: border-color 0.3s ease;
}

.inscricao-form input:focus,
.inscricao-form select:focus {
    outline: none;
    border-color: #022843;
    box-shadow: 0 0 0 2px rgba(2, 40, 67, 0.1);
}

.inscricao-form button {
    display: inline-block;
    width: 100%;
    padding: 0.75rem;
    background-color: #f68e30;
    color: white;
    border: none;
    border-radius: 4px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.inscricao-form button:hover {
    background-color: #e07a20;
}

.event-banner {
    color: rgb(0, 0, 0); /* Cor do texto */
    padding: 0.5rem 1rem;
    font-size: 1rem;
    font-weight: 500;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    z-index: 99;
}

.event-banner .event-content {
    display: flex;
    width: max-content; /* Garante que o conteúdo ocupe apenas o espaço necessário */
    animation: marquee 15s linear infinite; /* Animação contínua */
}

.event-banner p {
    display: inline-block;
    padding-right: 2rem; 
    animation: marquee 30s linear infinite; 
}

.event-banner a {
    color: #f68e30;
    font-weight: bold;
    text-decoration: none;
    margin-left: 0.5rem;
}


/* Animação de rolagem contínua */
@keyframes marquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

.event-banner {
    background-color: #f8f9fa; /* Cor de fundo */
    color: #000; /* Cor do texto */
    padding: 0.5rem 0;
    font-size: 1rem;
    font-weight: 500;
    position: relative;
    overflow: hidden;
    z-index: 99;
}

.event-banner .event-content {
    display: flex;
    width: max-content; /* Garante que o conteúdo ocupe apenas o espaço necessário */
    animation: marquee 15s linear infinite; /* Animação contínua */
}

.event-banner p {
    margin: 0;
    padding-right: 2rem; /* Espaçamento entre os textos */
    white-space: nowrap;
}

.event-banner a {
    color: #f68e30; /* Cor preta para o link */
    font-weight: bold;
    text-decoration: none; /* Remove o sublinhado */
    margin-left: 0.5rem;
}
/* Animação de rolagem contínua */
@keyframes marquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}
