:root {
  --gold-primary: #d4af37;
  --gold-light: #ffd700;
  --gold-dark: #b8860b;
  --gold-gradient: linear-gradient(45deg, var(--gold-dark), var(--gold-light), var(--gold-dark));
  --gold-button-gradient: linear-gradient(45deg, #ffd700, #d4af37);
  --bg-dark: rgba(0, 0, 0, 0.7);
  --card-bg: rgba(255, 255, 255, 0.05);
  --text-light: #fff;
  --text-dark: #333;
  --timeline-bg: rgba(0, 0, 0, 0.7);
  --primary-color: #d4af37;
  --secondary-color: #8b7355;
  --text-color: #333;
  --light-text: #fff;
  --gradient-start: #2c3e50;
  --gradient-end: #3498db;
  --gold-hover: #e5c100;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Montserrat', sans-serif;
  line-height: 1.6;
  color: var(--text-light);
  background: var(--bg-dark);
  background-attachment: fixed;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

/* Background padronizado em todas as páginas */

/* Imagem decorativa no background */
.belafera-decoration {
  content: '';
  position: fixed;
  bottom: 80px; /* Posicionado acima do footer */
  left: 0;
  width: 450px;
  height: 700px;
  background-image: url('../images/belafera.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: bottom left;
  opacity: 0.2;
  z-index: -2;
  pointer-events: none;
  transition: opacity 0.3s ease;
  animation: subtle-float 8s ease-in-out infinite alternate;
}

@keyframes subtle-float {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-10px);
  }
}

/* Efeito hover para a imagem de fundo */
body:hover .belafera-decoration {
  opacity: 0.25;
}

/* Ajuste da imagem de fundo para dispositivos móveis */
@media (max-width: 768px) {
  .belafera-decoration {
    width: 300px;
    height: 500px;
    opacity: 0.15;
    bottom: 70px;
  }

  body:hover .belafera-decoration {
    opacity: 0.2;
  }
}

@media (max-width: 480px) {
  .belafera-decoration {
    width: 200px;
    height: 350px;
    opacity: 0.12;
    bottom: 60px;
  }

  body:hover .belafera-decoration {
    opacity: 0.15;
  }
}

/* Efeitos de brilho no background */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(212, 175, 55, 0.4) 0%, transparent 30%),
    radial-gradient(circle at 80% 20%, rgba(212, 175, 55, 0.4) 0%, transparent 30%),
    radial-gradient(circle at 50% 50%, rgba(212, 175, 55, 0.35) 0%, transparent 45%),
    radial-gradient(circle at 80% 80%, rgba(212, 175, 55, 0.35) 0%, transparent 40%),
    radial-gradient(circle at 10% 90%, rgba(212, 175, 55, 0.4) 0%, transparent 35%);
  z-index: -1;
  animation: shimmer 8s infinite alternate;
}

@keyframes shimmer {
  0% {
    opacity: 0.7;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0.7;
  }
}

/* Estrelas no background */
.stars-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: -1;
}

.star {
  position: absolute;
  background-color: #fff;
  border-radius: 50%;
  opacity: 0;
  animation: twinkle ease-in-out infinite;
}

@keyframes twinkle {
  0% { opacity: 0; }
  50% { opacity: 0.8; }
  100% { opacity: 0; }
}

/* Estrelas cadentes */
.shooting-stars-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: -1;
}

.shooting-star {
  position: absolute;
  width: 100px;
  height: 1px;
  background: linear-gradient(to right, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0));
  animation: shooting-star 1s linear;
}

@keyframes shooting-star {
  0% { transform: translateX(0) translateY(0) rotate(30deg); opacity: 1; }
  100% { transform: translateX(500px) translateY(300px) rotate(30deg); opacity: 0; }
}

/* Partículas brilhantes */
.particles-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: -1;
}

.glowing-particle {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(255, 215, 0, 0.9), transparent 60%);
  animation: pulse 8s ease-in-out infinite;
  opacity: 0.4;
  box-shadow: 0 0 1px 0.3px rgba(255, 215, 0, 0.7);
  filter: blur(0.2px);
  width: 0.5px !important;
  height: 0.5px !important;
}

@keyframes pulse {
  0% { transform: scale(0.8); opacity: 0.2; box-shadow: 0 0 1px 0.3px rgba(255, 215, 0, 0.5); }
  50% { transform: scale(1.1); opacity: 0.6; box-shadow: 0 0 1.5px 0.5px rgba(255, 215, 0, 0.8); }
  100% { transform: scale(0.8); opacity: 0.2; box-shadow: 0 0 1px 0.3px rgba(255, 215, 0, 0.5); }
}

/* Estilos para o modal da galeria */
.gallery-modal {
  display: flex;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: rgba(0, 0, 0, 0.95);
  align-items: center;
  justify-content: center;
}

.gallery-modal-content {
  position: relative;
  margin: auto;
  padding: 0;
  width: 95%;
  max-width: 1400px;
  height: 90vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.gallery-modal-image-container {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.gallery-modal-content img {
  max-width: 100%;
  max-height: 85vh;
  object-fit: contain;
  transition: opacity 0.3s ease;
}

.gallery-modal-close {
  position: absolute;
  top: -40px;
  right: 0;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
  cursor: pointer;
  z-index: 10001;
}

.gallery-modal-close:hover,
.gallery-modal-close:focus {
  color: var(--gold-light);
  text-decoration: none;
}

.gallery-modal-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: white;
  font-size: 2rem;
  cursor: pointer;
  background-color: rgba(0, 0, 0, 0.3);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 10000;
}

.gallery-modal-prev {
  left: 20px;
}

.gallery-modal-next {
  right: 20px;
}

.gallery-modal-nav:hover {
  background-color: var(--gold-dark);
  transform: translateY(-50%) scale(1.1);
}

.gallery-modal-counter {
  position: absolute;
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  font-size: 1rem;
  background-color: rgba(0, 0, 0, 0.5);
  padding: 5px 15px;
  border-radius: 20px;
}

.modal-loading-spinner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 50px;
  height: 50px;
  border: 5px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: var(--gold-light);
  animation: spin 1s ease-in-out infinite;
  z-index: 9999;
  display: none;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

.logo {
    font-family: 'Dancing Script', cursive;
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--gold-light);
    text-decoration: none;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.7), 0 0 20px rgba(212, 175, 55, 0.5);
    transition: all 0.3s ease;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo:hover {
    text-shadow: 0 0 15px rgba(212, 175, 55, 0.7), 0 0 30px rgba(212, 175, 55, 0.5);
    transform: scale(1.05);
}

.logo-img {
    height: 40px;
    width: auto;
    filter: drop-shadow(0 0 5px rgba(212, 175, 55, 0.7)) drop-shadow(0 0 8px rgba(255, 255, 255, 0.3));
    transition: all 0.3s ease;
    animation: logo-glow 3s ease-in-out infinite;
}

@keyframes logo-glow {
    0% { filter: drop-shadow(0 0 5px rgba(212, 175, 55, 0.7)) drop-shadow(0 0 8px rgba(255, 255, 255, 0.3)); }
    50% { filter: drop-shadow(0 0 8px rgba(212, 175, 55, 0.9)) drop-shadow(0 0 12px rgba(255, 255, 255, 0.5)); }
    100% { filter: drop-shadow(0 0 5px rgba(212, 175, 55, 0.7)) drop-shadow(0 0 8px rgba(255, 255, 255, 0.3)); }
}

.logo:hover .logo-img {
    filter: drop-shadow(0 0 10px rgba(212, 175, 55, 1)) drop-shadow(0 0 15px rgba(255, 255, 255, 0.6));
    transform: rotate(10deg);
}

.nav-links {
    display: none;
}

.nav-links.active {
    display: flex;
}

@media (min-width: 769px) {
    .nav-links {
        display: flex;
    }
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links li a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
    padding-bottom: 5px;
}

.nav-links li a:hover,
.nav-links li a.active {
    color: var(--gold-light);
}

.nav-links li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background: var(--gold-gradient);
    transition: width 0.3s;
}

.nav-links li a:hover::after,
.nav-links li a.active::after {
    width: 100%;
}

.menu-icon {
    display: none;
    cursor: pointer;
    color: var(--gold-light);
    font-size: 1rem;
}

@media (max-width: 768px) {
    .navbar {
        padding: 0.8rem 1.5rem;
    }

    .menu-icon {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        font-size: 1.1rem;
        padding: 0.5rem;
        border-radius: 5px;
        background: rgba(212, 175, 55, 0.1);
        border: 1px solid rgba(212, 175, 55, 0.2);
    }

    .menu-icon:hover {
        background: rgba(212, 175, 55, 0.2);
    }

    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        flex-direction: column;
        background: rgba(0, 0, 0, 0.7);
        backdrop-filter: blur(10px);
        padding: 1.2rem 0;
        gap: 1.2rem;
        border-bottom: 1px solid rgba(212, 175, 55, 0.3);
        display: none;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li a {
        display: block;
        padding: 0.5rem 2rem;
        font-size: 1.1rem;
    }

    .nav-links li a:hover {
        background: rgba(212, 175, 55, 0.1);
    }

    body.menu-open {
        overflow: hidden;
    }
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    background: rgba(0, 0, 0, 0.5);
    padding: 0 1rem;
    overflow: hidden;
    padding-top: 0;
    padding-bottom: 100px; /* Espaço para o footer e a imagem belafera */
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(52, 152, 219, 0.1) 0%, rgba(44, 62, 80, 0.4) 100%);
    z-index: 0;
}

.hero-content {
    max-width: 700px;
    z-index: 1;
    padding: 1.8rem;
    border-radius: 15px;
    background: rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), 0 0 20px rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.15);
    position: relative;
    overflow: hidden;
    transform: translateY(0);
    transition: all 0.3s ease;
}

.hero-content::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, transparent, rgba(212, 175, 55, 0.2), transparent);
    z-index: -1;
    border-radius: 16px;
    animation: border-glow 3s linear infinite;
}

@keyframes border-glow {
    0% {
        background-position: 0% 0%;
    }
    50% {
        background-position: 100% 100%;
    }
    100% {
        background-position: 0% 0%;
    }
}

.hero-content:hover {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), 0 0 25px rgba(212, 175, 55, 0.15);
    transform: translateY(-5px);
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.2rem;
    margin-bottom: 1rem;
    color: var(--gold-light);
    text-shadow: 0 0 15px rgba(212, 175, 55, 0.6);
    position: relative;
    display: inline-block;
    letter-spacing: 1px;
}

.hero h1::after {
    content: '';
    position: absolute;
    width: 80%;
    height: 2px;
    bottom: -10px;
    left: 10%;
    background: var(--gold-gradient);
    box-shadow: 0 0 10px 1px rgba(212, 175, 55, 0.5);
}

.hero h1 {
    animation: title-glow 3s ease-in-out infinite alternate;
}

@keyframes title-glow {
    0% {
        text-shadow: 0 0 15px rgba(212, 175, 55, 0.6);
    }
    100% {
        text-shadow: 0 0 25px rgba(212, 175, 55, 0.8), 0 0 5px rgba(255, 255, 255, 0.3);
    }
}

.hero p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--text-light);
    letter-spacing: 0.5px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.countdown {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    margin-top: 1rem;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 70px;
    background: rgba(0, 0, 0, 0.3);
    padding: 0.8rem 0.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(212, 175, 55, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.countdown-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3), 0 0 10px rgba(212, 175, 55, 0.2);
}

.countdown-item span:first-child,
.countdown-number {
    font-size: 2.2rem;
    font-weight: 700;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 5px rgba(212, 175, 55, 0.3);
    position: relative;
    display: inline-block;
    transition: all 0.3s ease;
    margin-bottom: 0.3rem;
}

.countdown-item span:first-child::after,
.countdown-number::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gold-gradient);
    opacity: 0.5;
}

/* Animações para o contador */
.countdown-flip-out {
    animation: flipOut 0.3s ease-in forwards;
}

.countdown-flip-in {
    animation: flipIn 0.3s ease-out forwards;
}

@keyframes flipOut {
    0% {
        transform: perspective(400px) rotateX(0);
        opacity: 1;
    }
    100% {
        transform: perspective(400px) rotateX(-90deg);
        opacity: 0;
    }
}

@keyframes flipIn {
    0% {
        transform: perspective(400px) rotateX(90deg);
        opacity: 0;
    }
    100% {
        transform: perspective(400px) rotateX(0);
        opacity: 1;
    }
}

.countdown-item .label {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-top: 0.5rem;
    font-weight: 500;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-family: 'Montserrat', sans-serif;
}

.primary-btn {
    background: var(--gold-button-gradient);
    color: var(--text-dark);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.primary-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #e5c100, #d4af37);
    z-index: -1;
    transition: opacity 0.3s ease;
    opacity: 0;
}

.primary-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

.primary-btn:hover::before {
    opacity: 1;
}

.secondary-btn {
    background: transparent;
    color: var(--gold-light);
    border: 2px solid var(--gold-light);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.1);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.secondary-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(212, 175, 55, 0.15);
    transition: all 0.3s ease;
    z-index: -1;
}

.secondary-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.2);
    color: var(--gold-hover);
}

.secondary-btn:hover::before {
    left: 0;
}

.hero-decoration {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
}

.sparkle {
    position: absolute;
    width: 1px;
    height: 1px;
    border-radius: 50%;
    background-color: var(--gold-light);
    box-shadow: 0 0 3px 1px var(--gold-light);
    opacity: 0.9;
    z-index: 2;
}

.particle {
    position: absolute;
    width: 0.5px;
    height: 0.5px;
    border-radius: 50%;
    background-color: rgba(255, 215, 0, 0.9);
    box-shadow: 0 0 1px 0.3px rgba(255, 215, 0, 0.7);
    opacity: 0.6;
    z-index: 1;
}

.sparkle:nth-child(1) {
    top: 20%;
    left: 15%;
}

.sparkle:nth-child(2) {
    top: 40%;
    right: 20%;
}

.sparkle:nth-child(3) {
    bottom: 30%;
    left: 30%;
}

@keyframes sparkle {
    0% {
        transform: scale(1);
        opacity: 0.7;
        box-shadow: 0 0 20px 8px var(--gold-light);
    }
    50% {
        transform: scale(1.8);
        opacity: 1;
        box-shadow: 0 0 30px 12px var(--gold-light);
    }
    100% {
        transform: scale(1);
        opacity: 0.7;
        box-shadow: 0 0 20px 8px var(--gold-light);
    }
}

@keyframes float {
    0% {
        transform: translateY(0) translateX(0);
        opacity: 0.3;
    }
    25% {
        transform: translateY(-3px) translateX(2px);
        opacity: 0.7;
    }
    50% {
        transform: translateY(0) translateX(3px);
        opacity: 0.5;
    }
    75% {
        transform: translateY(3px) translateX(2px);
        opacity: 0.7;
    }
    100% {
        transform: translateY(0) translateX(0);
        opacity: 0.3;
    }
}

/* Estilo para todas as seções principais */
.gallery-section,
.historia-section,
.evento-section,
.confirmacao-section {
    padding: 120px 2rem 80px;
    background: var(--bg-dark);
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

/* Adicionar decorações de fundo para todas as seções */
.gallery-section::before,
.historia-section::before,
.evento-section::before,
.confirmacao-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(52, 152, 219, 0.05) 0%, rgba(44, 62, 80, 0.2) 100%);
    z-index: 0;
    pointer-events: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--gold-light);
    position: relative;
    width: 100%;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 100px;
    height: 3px;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gold-gradient);
    border-radius: 3px;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 3rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 2rem;
    position: relative;
    min-height: 400px;
}

/* Loader para a galeria */
.gallery-loader {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 100;
    border-radius: 8px;
}

.loader-spinner {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: var(--gold-light);
    animation: spin 1s ease-in-out infinite;
    margin-bottom: 15px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.gallery-loader p {
    color: white;
    font-size: 1.2rem;
    text-align: center;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s, box-shadow 0.3s;
    aspect-ratio: 2/3;
    cursor: pointer;
    background-color: rgba(0, 0, 0, 0.2);
}

.image-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.1);
}

.placeholder-spinner {
    width: 30px;
    height: 30px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: var(--gold-light);
    animation: spin 1s ease-in-out infinite;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.gallery-item-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.gallery-item-overlay i {
    color: white;
    font-size: 2rem;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.3);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item:hover .gallery-item-overlay {
    opacity: 1;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
}

.pagination-numbers {
    display: flex;
    gap: 0.5rem;
}

.pagination-number {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: transparent;
    border: 1px solid var(--gold-light);
    color: var(--gold-light);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.pagination-number.active,
.pagination-number:hover {
    background: var(--gold-light);
    color: var(--text-dark);
}

.pagination-btn {
    padding: 0.5rem 1rem;
    border-radius: 50px;
    background: transparent;
    border: 1px solid var(--gold-light);
    color: var(--gold-light);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pagination-btn:hover {
    background: rgba(212, 175, 55, 0.1);
}

.pagination-ellipsis {
    color: var(--gold-light);
    font-weight: 600;
    margin: 0 0.5rem;
}

/* Mensagem de Agradecimento */
.thank-you-message {
    text-align: center;
    max-width: 800px;
    margin: 80px auto 0;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

/* Animação de fadeIn para a mensagem de agradecimento */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Classe para ocultar o contador quando a data já passou */
.birthday-passed .countdown,
.birthday-passed .hero-buttons {
    display: none !important;
}

.thank-you-message::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    z-index: -1;
    opacity: 0.5;
}

/* Estilo para a assinatura */
.signature {
    font-family: 'Dancing Script', cursive;
    font-size: 2.2rem;
    font-weight: 900;
    margin-top: 15px;
    color: var(--gold-light);
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.7), 0 0 20px rgba(212, 175, 55, 0.5);
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    letter-spacing: 1px;
}

.thank-you-message h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--gold-light);
}

.thank-you-message p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

.thank-you-message .signature {
    font-family: 'Dancing Script', cursive;
    font-size: 2.2rem;
    font-weight: 900;
    margin-top: 2rem;
    color: var(--gold-light);
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.7), 0 0 20px rgba(212, 175, 55, 0.5);
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    letter-spacing: 1px;
}

/* Ajustes responsivos para a mensagem de agradecimento */
@media (max-width: 768px) {
    .thank-you-message {
        margin-top: 100px;
        padding: 20px 15px;
    }

    .thank-you-message h2 {
        font-size: 1.5rem;
        margin-bottom: 15px;
    }

    .thank-you-message p {
        font-size: 0.9rem;
        margin-bottom: 10px;
    }

    .thank-you-message .signature {
        font-size: 1.8rem;
    }

    /* Ajuste adicional para dispositivos muito pequenos */
    @media (max-width: 480px) {
        .thank-you-message {
            margin-top: 120px;
        }
    }
}

/* Ajustes quando a mensagem de agradecimento está sendo exibida */
body.showing-thank-you .hero {
    padding-top: 80px;
    min-height: 100vh;
    height: auto;
}

/* Footer */
footer {
    text-align: center;
    padding: 1.2rem;
    background: rgba(0, 0, 0, 0.7);
    border-top: 1px solid rgba(212, 175, 55, 0.3);
    position: relative;
    z-index: 1;
}

.footer-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-logo {
    margin-right: 20px;
}

.footer-logo-img {
    height: 40px;
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.9)) drop-shadow(0 0 8px rgba(255, 255, 255, 0.7));
    transition: all 0.3s ease;
}

.footer-logo-img:hover {
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 1)) drop-shadow(0 0 12px rgba(255, 255, 255, 0.9));
    transform: scale(1.05);
}

.footer-info {
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.footer-info p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    margin-bottom: 3px;
}

.footer-info .copyright {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
}

footer a {
    color: var(--gold-light);
    text-decoration: none;
    transition: color 0.3s;
    font-weight: 600;
}

footer a:hover {
    color: var(--gold-hover);
    text-decoration: underline;
}

/* Responsividade */
@media (max-width: 768px) {
    .hero {
        padding-bottom: 80px;
    }

    .hero h1 {
        font-size: 2.5rem;
        margin-bottom: 15px;
    }

    .hero p {
        font-size: 1rem;
        margin-bottom: 20px;
        padding: 0 10px;
    }

    .countdown {
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
        padding: 0 10px;
    }

    .countdown-item {
        min-width: 60px;
        padding: 0.6rem 0.4rem;
        margin-bottom: 0.5rem;
    }

    .countdown-item span:first-child {
        font-size: 2rem;
    }

    .countdown-item .label {
        font-size: 0.8rem;
    }

    .hero {
        padding-bottom: 60px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
        padding: 0 20px;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
    }

    .logo {
        font-size: 1.6rem;
        font-weight: 900;
        text-shadow: 0 0 8px rgba(212, 175, 55, 0.8), 0 0 15px rgba(212, 175, 55, 0.6);
        background: var(--gold-gradient);
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
        letter-spacing: 0.5px;
    }

    .logo-img {
        height: 32px;
        filter: drop-shadow(0 0 5px rgba(212, 175, 55, 0.9)) drop-shadow(0 0 8px rgba(255, 255, 255, 0.5));
        animation: logo-glow-mobile 3s ease-in-out infinite;
    }

    @keyframes logo-glow-mobile {
        0% { filter: drop-shadow(0 0 5px rgba(212, 175, 55, 0.9)) drop-shadow(0 0 8px rgba(255, 255, 255, 0.5)); }
        50% { filter: drop-shadow(0 0 8px rgba(212, 175, 55, 1)) drop-shadow(0 0 12px rgba(255, 255, 255, 0.7)); }
        100% { filter: drop-shadow(0 0 5px rgba(212, 175, 55, 0.9)) drop-shadow(0 0 8px rgba(255, 255, 255, 0.5)); }
    }

    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-logo {
        margin-right: 0;
        margin-bottom: 10px;
    }

    .footer-logo-img {
        height: 35px;
    }

    .footer-info {
        text-align: center;
    }

    .footer-info p {
        font-size: 0.85rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }

    .gallery-modal-nav {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }

    .gallery-modal-prev {
        left: 10px;
    }

    .gallery-modal-next {
        right: 10px;
    }

    .gallery-modal-content {
        width: 100%;
    }

    .gallery-modal-close {
        top: 10px;
        right: 10px;
        font-size: 30px;
        background-color: rgba(0, 0, 0, 0.5);
        width: 40px;
        height: 40px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .countdown {
        gap: 0.5rem;
    }

    .countdown-item {
        min-width: 50px;
    }

    .countdown-item span:first-child {
        font-size: 1.5rem;
    }

    .countdown-item .label {
        font-size: 0.7rem;
    }

    .btn {
        padding: 0.7rem 1.2rem;
        font-size: 0.9rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    }

    .pagination-number {
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
    }

    .pagination-btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }

    .gallery-modal-nav {
        width: 30px;
        height: 30px;
        font-size: 1.2rem;
    }

    .gallery-modal-counter {
        font-size: 0.8rem;
        padding: 3px 10px;
    }
}

/* Botões de confirmação */
.confirmation-btn {
    width: 80%;
    margin-top: 20px;
    font-size: 0.95rem;
    padding: 10px 15px;
}

/* Ícone de exclamação */
.deadline-card i.fas.fa-exclamation-circle {
    font-size: 1.5rem;
    margin-right: 10px;
}
