/* ===============================
   RESET BÁSICO & VARIABLES
================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-color: #ffffff;
    --text-color: #000000;
    --content-bg: #ffffff;
    --divider-color: #000009;

    --footer-color: rgba(0,0,0,0.6);
    --accent-color: #dddddd;
}

/* ===============================
   BASE
================================ */
html, body {
    height: 100%;
    font-family: Arial, Helvetica, sans-serif;
    overflow-x: hidden;
    background: var(--bg-color);
    color: var(--text-color);
}

/* ===============================
   HERO / PORTADA
================================ */
.hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.9);
}

/* ===============================
   TEXTO SOBRE PORTADA
================================ */
.cover-text {
    position: absolute;
    top: 75%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
}



.cover-text h1,
.cover-text h3 {
    font-family: Georgia, serif;
    color: #ffffff;
    opacity: 0;
    animation: textFadeUp 1.5s ease forwards;
}

.cover-text h1 {
    font-size: 3rem;
    font-weight: 900;
    animation-delay: 0.8s;
}

.cover-text h3 {
    font-size: 1.5rem;
    font-weight: 400;
    margin-top: 16px;
    animation-delay: 1.2s;
}

/* ===============================
   CONTROLES SUPERIORES
================================ */
.controls {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    gap: 10px;
    z-index: 10;
}

#toggleTheme,
#playMusic {
    background: var(--accent-color);
    color: #000;
    border: none;
    padding: 8px 15px;
    border-radius: 30px;
    cursor: pointer;
}

/* ===============================
   CONTENIDO PRINCIPAL
================================ */
.content {
    position: relative;
    z-index: 2;
    background: var(--content-bg);
    border-radius: 30px 30px 0 0;
    padding: 60px 20px 40px;
}

/* ===============================
   CUENTA REGRESIVA
================================ */
.countdown {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 500;
    color: #000;
    margin: 30px 0 40px;
}

.info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    text-align: center;
}

.info h2 {
    margin: 0;
    line-height: 1.6;
    font-size: 1.1rem;
    font-weight: 400;
}

/* ===============================
   DIVISORES
================================ */
.divider {
    width: 80%;
    height: 1px;
    margin: 30px auto;
    background: var(--divider-color);
    border: none;
}

/* ===============================
   ICONOS / DATOS CIVIL, CONFERENCIA, FIESTA
================================ */
.icon-row {
    display: flex;
    flex-direction: column; /* vertical */
    align-items: center;
    gap: 20px;
    margin-top: 30px;
}

.icon-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: 100%;
}

.icon-center img {
    width: 45px;
    height: 45px;
}

.icon-text {
    font-size: 0.95rem;
    color: #000;
}

/* ===============================
   BOTONES MAPS / RSVP
================================ */
.center-button-container {
    text-align: center;
    margin: 20px 0 30px;
}

.maps-button {
    background: var(--accent-color);
    color: #000;
    border: none;
    padding: 10px 20px;
    border-radius: 30px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    font-weight: 500;
    transition: transform 0.2s ease;
}

.maps-button:hover {
    transform: scale(1.05);
}

/* ===============================
   SECCIONES RSVP Y LISTA DE REGALOS
================================ */
.rsvp-section {
    text-align: center;
    margin: 60px 0 40px;
}

.rsvp-text {
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 15px;
    line-height: 1.4;
    color: #000;
    
   
}



.lista-regalos-section {
    text-align: center;
    margin: 60px 0 40px;
}

#lista-regalos {
    list-style: none;
    padding: 0;
    max-width: 500px;
    margin: auto;
}

#lista-regalos li {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px;
    margin-bottom: 12px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 6px rgba(0,0,0,.08);
    transition: opacity 0.3s;
}

#lista-regalos li.regalado {
    opacity: 0.45;
}

#lista-regalos img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 10px;
}

#lista-regalos .info {
    flex: 1;
}

#lista-regalos button {
    padding: 8px 12px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    background: var(--accent-color);
    color: black;
    font-weight: bold;
}

/* ===============================
   URNA DE REGALOS
================================ */
.urna-section {
    text-align: center;
    margin: 60px 0 40px;
}

.urna-text {
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 15px;
    color: #000;
}

.urna-icon-container img {
    width: 60px;
    height: auto;
}

/* ===============================
   PIE DE PÁGINA / FOOTER
================================ */
.footer-dev {
    text-align: center;
    padding: 25px 20px;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--footer-color);
}

.footer-dev a {
    color: inherit;
    text-decoration: none;
    border-bottom: 1px solid currentColor;
}

.footer-dev a:hover {
    opacity: 0.8;
}

/* ===============================
   IMÁGENES GRANDES
================================ */
.img-full {
    width: 100%;
    overflow: hidden;
}

.img-full img {
    width: 100%;
    height: auto;
    max-height: 70vh;
    object-fit: cover;
    display: block;
}

.img-full.final img {
    max-height: 85vh;
}

/* ===============================
   ANIMACIONES
================================ */
@keyframes textFadeUp {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ===============================
   ANILLO / ICONOS ESPECIALES
================================ */
.anillo {
    width: 90px;
    height: auto;
    display: block;
}

/* ===============================
   TÍTULOS CIVIL / CONFERENCIA / FIESTA
================================ */
.civil-title {
    text-align: center;
    font-size: 1.5rem; /* ajustá si querés */
    margin-bottom: 20px;
    font-weight: 600;
}

.boton-centrado {
  display: flex;               /* usamos flex para centrar */
  justify-content: center;     /* centra horizontalmente */
  margin: 20px 0;              /* espacio arriba y abajo */
}

.btn-regalos {
  display: inline-block;       /* se comporta como botón */
  text-decoration: none;       /* quita subrayado */
  background-color: #ccc;      /* gris */
  color: #000;                 /* letra negra */
  font-size: 16px;
  font-weight: bold;
  padding: 12px 30px;          /* tamaño del botón */
  border-radius: 12px;         /* bordes redondeados */
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-regalos:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 12px rgba(0,0,0,0.2);
}
