#particles-js {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
}


/* Reset e base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Lora', serif;
  line-height: 1.6;
  font-size: 1rem;
  color: #333;
}

h1, h2, h3, .logo, .section-title {
  font-family: 'Cinzel', serif;
  font-weight: 600;
  color: #444;
}

/* Navbar */
.navbar {
  background: #d8d8d8;
  padding: 15px 0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.navbar .container {
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  color: #555;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
}

.nav-links a {
  text-decoration: none;
  color: #444;
  font-weight: 600;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #888;
}

/* Hero Section */

.countdown {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  gap: 20px;
  font-family: 'Playfair Display', serif;
}

.countdown div {
  background-color: rgba(255, 255, 255, 0.6);
  border: 1px solid #ccc;
  border-radius: 10px;
  padding: 10px 15px;
  text-align: center;
  min-width: 60px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.countdown span {
  font-size: 1.8rem;
  font-weight: bold;
  display: block;
  color: #333;
}

.countdown small {
  font-size: 0.8rem;
  color: #777;
}


.hero {
  height: 100vh;
  background-image: url('../assets/imagens/banner.jpg');
  background-size: cover;
  background-position: center;
  position: relative;
  margin-top: 70px;
}

.overlay {
  background-color: rgba(255, 255, 255, 0.75);
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-content {
  text-align: center;
  padding: 20px;
  max-width: 700px;
}

.hero-content h2 {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  color: #444;
  margin-bottom: 10px;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 25px;
  color: #555;
}

.btn {
  padding: 12px 25px;
  background: #ccc;
  color: #222;
  border: none;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s;
}

.btn:hover {
  background: #aaa;
}

/* Responsivo */
@media (max-width: 768px) {
  .nav-links {
    flex-direction: column;
    background: #eee;
    position: absolute;
    top: 60px;
    right: 0;
    padding: 10px;
    display: none;
  }

  .hero-content h2 {
    font-size: 2.2rem;
  }

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


/* Seção História */
.historia {
  background-color: #fff;
  padding: 80px 20px;
}

.section-title {
  text-align: center;
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  margin-bottom: 40px;
  color: #555;
}

.timeline {
  position: relative;
  max-width: 800px;
  margin: auto;
}

.timeline::after {
  content: '';
  position: absolute;
  width: 3px;
  background-color: #c0c0c0;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

.timeline-item {
  padding: 20px 40px;
  position: relative;
  width: 50%;
}

.timeline-item:nth-child(odd) {
  left: 0;
}

.timeline-item:nth-child(even) {
  left: 50%;
}

.timeline-content {
  background-color: #f3f3f3;
  padding: 20px;
  border-radius: 10px;
  position: relative;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.timeline-image {
  width: 100%;
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0,0,0,0.15);
  background-color: #f9f9f9;
}

.timeline-image img {
  width: 100%;
  height: auto;
  max-height: 350px;
  object-fit: contain;
  display: block;
  transition: transform 0.3s ease;
}

.timeline-image img:hover {
  transform: scale(1.02);
}

.timeline-content h3 {
  margin-bottom: 10px;
  color: #444;
}

.timeline-content p {
  color: #777;
}

.timeline-item::before {
  content: '';
  position: absolute;
  top: 20px;
  width: 20px;
  height: 20px;
  background-color: #c0c0c0;
  border: 3px solid #fff;
  border-radius: 50%;
  z-index: 1;
}

.timeline-item:nth-child(odd)::before {
  left: calc(100% + 7px);
}

.timeline-item:nth-child(even)::before {
  right: calc(100% + 7px);
}

@media screen and (max-width: 768px) {
  .timeline::after {
    left: 10px;
  }

  .timeline-item {
    width: 100%;
    padding-left: 40px;
    padding-right: 25px;
  }

  .timeline-item::before {
    left: 0;
  }

  .timeline-item:nth-child(even) {
    left: 0;
  }
}

.festa {
  background-color: #f8f8f8;
  padding: 80px 20px;
}

.festa-info {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
  align-items: flex-start;
}

.festa-detalhes {
  flex: 1 1 300px;
  font-size: 1.1rem;
  color: #444;
  line-height: 1.6;
}

.festa-detalhes p {
  margin-bottom: 10px;
}

.festa-mapa {
  flex: 1 1 400px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

@media (max-width: 768px) {
  .festa-info {
    flex-direction: column;
  }
}


.rsvp {
  background-color: #fff;
  padding: 80px 20px;
}

.rsvp-text {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 40px;
  font-size: 1.1rem;
  color: #777;
}

/* Destaque da confirmação */
.rsvp-destaque {
  max-width: 700px;
  margin: 0 auto 40px;
  padding: 25px 30px;
  background: linear-gradient(135deg, #f9f9f9 0%, #f0f0f0 100%);
  border: 3px solid #c0c0c0;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  position: relative;
}

.rsvp-destaque::before {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 2.5rem;
  background: white;
  padding: 5px 15px;
  border-radius: 50%;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.rsvp-text-destaque {
  text-align: center;
  font-size: 1.3rem;
  color: #444;
  line-height: 1.8;
  margin: 0;
  font-family: 'Cinzel', serif;
}

.rsvp-text-destaque strong {
  color: #555;
  font-size: 1.4rem;
}

.prazo-confirmacao {
  display: inline-block;
  margin-top: 10px;
  font-size: 1.2rem;
  color: #666;
  font-weight: 600;
}

.prazo-confirmacao strong {
  color: #444;
  font-size: 1.3rem;
  background: rgba(192, 192, 192, 0.2);
  padding: 3px 10px;
  border-radius: 5px;
}

@media (max-width: 768px) {
  .rsvp-destaque {
    padding: 20px 20px;
    margin: 0 15px 30px;
  }
  
  .rsvp-destaque::before {
    font-size: 2rem;
    top: -15px;
  }
  
  .rsvp-text-destaque {
    font-size: 1.1rem;
  }
  
  .rsvp-text-destaque strong {
    font-size: 1.2rem;
  }
  
  .prazo-confirmacao {
    font-size: 1rem;
    display: block;
    margin-top: 15px;
  }
  
  .prazo-confirmacao strong {
    font-size: 1.1rem;
  }
}

.rsvp-form {
  max-width: 600px;
  margin: 0 auto;
  background-color: #f3f3f3;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  color: #444;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  background-color: #fff;
  color: #333;
  transition: border 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #888;
  outline: none;
}

.rsvp-form .btn {
  display: inline-block;
  width: 100%;
  padding: 12px;
  background: #c0c0c0;
  color: #222;
  font-weight: bold;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.rsvp-form .btn:hover {
  background: #999;
}


.galeria {
  background-color: #f8f8f8;
  padding: 80px 20px;
}

.galeria-text {
  text-align: center;
  font-size: 1.1rem;
  color: #777;
  margin-bottom: 40px;
}

.galeria-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.galeria-item {
  cursor: pointer;
  overflow: hidden;
  border-radius: 8px;
  border: 3px solid #c0c0c0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.galeria-item:hover {
  transform: scale(1.03);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.galeria-grid img {
  width: 100%;
  height: auto;
  display: block;
}

/* Modal da Galeria */
.modal-galeria {
  display: none;
  position: fixed;
  z-index: 99999;
  padding: 0;
  margin: 0;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  background-color: rgba(0, 0, 0, 0.98);
  animation: fadeIn 0.3s;
  flex-direction: column;
}

.modal-galeria.show {
  display: flex;
}

.modal-image-container {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  padding-bottom: 10px;
  position: relative;
}

.modal-content {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  animation: zoomIn 0.3s;
}

@keyframes zoomIn {
  from {
    transform: scale(0.8);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 25px;
  color: #fff;
  font-size: 60px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
  z-index: 10001;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
}

.modal-close:hover,
.modal-close:focus {
  color: #f1f1f1;
  transform: scale(1.1);
}

.modal-prev,
.modal-next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 20px 25px;
  margin-top: -50px;
  color: white;
  font-weight: bold;
  font-size: 50px;
  transition: 0.3s;
  border-radius: 0 5px 5px 0;
  user-select: none;
  background-color: rgba(0, 0, 0, 0.6);
  text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
  z-index: 10001;
}

.modal-prev {
  left: 0;
  border-radius: 0 5px 5px 0;
}

.modal-next {
  right: 0;
  border-radius: 5px 0 0 5px;
}

.modal-prev:hover,
.modal-next:hover {
  background-color: rgba(0, 0, 0, 0.9);
  transform: scale(1.1);
}

.modal-caption {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: block;
  width: auto;
  text-align: center;
  color: #fff;
  background-color: rgba(0, 0, 0, 0.7);
  padding: 12px 25px;
  font-size: 1.2rem;
  border-radius: 25px;
  font-weight: 600;
  z-index: 10001;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
}

/* Container de Miniaturas */
.modal-thumbnails {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 15px 20px;
  background-color: rgba(0, 0, 0, 0.9);
  overflow-x: auto;
  overflow-y: hidden;
  max-height: 140px;
  scrollbar-width: thin;
  scrollbar-color: #888 #222;
}

.modal-thumbnails::-webkit-scrollbar {
  height: 8px;
}

.modal-thumbnails::-webkit-scrollbar-track {
  background: #222;
}

.modal-thumbnails::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 4px;
}

.modal-thumbnails::-webkit-scrollbar-thumb:hover {
  background: #aaa;
}

.modal-thumbnail {
  flex-shrink: 0;
  width: 100px;
  height: 100px;
  object-fit: cover;
  cursor: pointer;
  border: 3px solid transparent;
  border-radius: 8px;
  transition: all 0.3s ease;
  opacity: 0.6;
}

.modal-thumbnail:hover {
  opacity: 0.9;
  transform: scale(1.05);
}

.modal-thumbnail.active {
  border-color: #c0c0c0;
  opacity: 1;
  transform: scale(1.1);
  box-shadow: 0 0 15px rgba(192, 192, 192, 0.5);
}

@media (max-width: 768px) {
  .modal-prev,
  .modal-next {
    font-size: 35px;
    padding: 15px 20px;
  }
  
  .modal-close {
    font-size: 45px;
    right: 15px;
    top: 10px;
  }
  
  .modal-caption {
    font-size: 1rem;
    padding: 10px 20px;
    top: 15px;
  }
  
  .modal-thumbnails {
    padding: 10px;
    max-height: 100px;
    gap: 8px;
  }
  
  .modal-thumbnail {
    width: 70px;
    height: 70px;
  }
  
  .modal-image-container {
    padding: 15px;
    padding-bottom: 5px;
  }
}


.mensagens {
  background-color: #fff;
  padding: 80px 20px;
}

.mensagens-text {
  text-align: center;
  font-size: 1.1rem;
  color: #777;
  margin-bottom: 40px;
}

.mensagens-form {
  max-width: 600px;
  margin: 0 auto;
  background-color: #f3f3f3;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.mensagens-form .form-group {
  margin-bottom: 20px;
}

.mensagens-form label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  color: #444;
}

.mensagens-form input,
.mensagens-form textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  background-color: #fff;
  color: #333;
  transition: border 0.3s ease;
}

.mensagens-form input:focus,
.mensagens-form textarea:focus {
  border-color: #888;
  outline: none;
}

.mensagens-form .btn {
  display: inline-block;
  width: 100%;
  padding: 12px;
  background: #c0c0c0;
  color: #222;
  font-weight: bold;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.mensagens-form .btn:hover {
  background: #999;
}

/* Mural de Mensagens */
.mural-mensagens {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 2px solid #e0e0e0;
}

.mural-title {
  text-align: center;
  font-family: 'Cinzel', serif;
  font-size: 2rem;
  color: #555;
  margin-bottom: 30px;
}

.mural-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

.mensagem-card {
  background: linear-gradient(135deg, #fff9e6 0%, #ffe6f0 100%);
  border: 2px solid #d4af37;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: fadeIn 0.5s ease-in;
}

.mensagem-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

.mensagem-card::before {
  content: '❝';
  position: absolute;
  top: -10px;
  left: 10px;
  font-size: 3rem;
  color: #d4af37;
  opacity: 0.3;
  font-family: Georgia, serif;
}

.mensagem-autor {
  font-family: 'Cinzel', serif;
  font-weight: 700;
  color: #444;
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.mensagem-texto {
  color: #555;
  line-height: 1.6;
  font-size: 0.95rem;
  font-style: italic;
  margin-bottom: 10px;
}

.mensagem-data {
  font-size: 0.8rem;
  color: #888;
  text-align: right;
  margin-top: 10px;
}

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

/* Responsivo para o mural */
@media (max-width: 768px) {
  .mural-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .mural-title {
    font-size: 1.6rem;
  }
}

.agradecimentos {
  background: linear-gradient(to bottom, #f9f9f9, #e0e0e0);
  padding: 80px 20px;
  text-align: center;
}

.agradecimentos-text {
  max-width: 700px;
  margin: 0 auto 20px;
  font-size: 1.2rem;
  color: #444;
  line-height: 1.7;
}

.footer {
  background-color: #d8d8d8;
  text-align: center;
  padding: 30px 20px;
  font-size: 0.95rem;
  color: #555;
}

.footer a {
  color: #333;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s;
}

.footer a:hover {
  color: #777;
}

.lightboxOverlay,
.lightbox {
  z-index: 9999 !important;
}
