/* 1. Variables */
:root {
  --color-blue: #123458;
  --color-cream: #D4C9BE;
}

/* 2. Reset & Box Sizing */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  background-clip: padding-box;
}
html, body {
  width: 100%;
  height: 100%;
  overflow-x: hidden;
}

/* 3. Base Styles */
body {
  font-family: 'Courgette', cursive !important;
  color: var(--color-blue) !important;
  background: url("../img/playa-fondo.jpg") center/cover fixed no-repeat;
  padding-bottom: 70px !important;
}

/* 4. Typography */
h1 {
  font-family: 'Marck Script', cursive;
  font-size: clamp(3rem, 5vw, 6rem);
  text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}
.texto-casamos h2 {
  margin: 2rem 0;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--color-blue);
}

/* 5. Buttons index*/
.btn-primary {
  font-family: 'Marck Script', cursive !important;
  background-color: var(--color-blue) !important;
  color: var(--color-cream) !important;
  font-size: 1.5rem !important;
  border: none !important;
  transition: background-color 0.3s !important;
}
.btn-primary:hover {
  background-color: var(--color-cream) !important;
  color: var(--color-blue) !important;
}

/* 6. Botón inicio */
.btn-circle {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  background: none;
  cursor: pointer;
}
.btn-circle:hover {
  background-color: var(--color-cream);
}
.btn-circle__img {
  display: block;
  object-fit: contain;
}

/* 7. Countdown */
#countdown {
  font-size: 1.25rem;
  text-align: center;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
  margin: 1rem 0;
}

/* 8. Navbar & Dropdown */

/* Navbar fijo arriba */
.navbar {
  position: fixed !important;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1050;
  background-color: #123458B0 !important;
  backdrop-filter: blur(6px);
  padding: 0.5rem 1rem;
}

/* Dropdown normal (no fixed) */
.dropdown-menu {
  position: absolute !important;  /* 👈 restauramos la posición correcta */
  background-color: #123458B0 !important;
  border: none;
  margin-top: 0.5rem;
  backdrop-filter: blur(6px);
  z-index: 1060; /* sobre el navbar */
}

/* Items del menú */
.dropdown-item {
  color: var(--color-cream) !important;
  transition: background-color 0.3s, color 0.3s !important;
}

.dropdown-item:hover {
  background-color: var(--color-cream) !important;
  color: var(--color-blue) !important;
}

/* Ajuste de contenido para no quedar oculto */
body {
  padding-top: 70px; /* Ajusta según la altura de la navbar */
}

/* 9. Logos & Images */
.logo-login {
    margin: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo-ppal, .collage, .logos-timeline {
  width: 100%;
  margin: 2rem 0;
  padding: 0;
}
.logo-login img,
.logo-ppal-imagen,
.collage-imagen {
  display: block;
  margin: 0 auto;
  max-width: 100%;
  height: auto;
}
.container img{
  margin-top: 4rem;
}
.logos-timeline-imagen {
  display: block;
  margin: 0 auto;
  max-width: none !important;
  width: auto !important;
}

/* 10. Tables */
.table-custom {
  width: auto;
  margin: 1.5rem auto;
  border-collapse: collapse;
  display: block;
  overflow-x: auto;
  justify-content: center !important;
}
.table-custom thead {
  background-color: var(--color-blue);
}
.table-custom th,
.table-custom td {
  padding: 0.75rem 1rem;
}
.table-custom th {
  color: var(--color-cream);
  border-bottom: 2px solid #ddd;
}
.table-custom td {
  color: var(--color-blue);
  border-top: 1px solid #eee;
  white-space: nowrap;
}

/* 11. Google Maps */
.map-container {
  max-width: 800px;
  margin-top: 2rem;
  border: 4px solid var(--color-blue);
  border-radius: 8px;
  overflow: hidden;
}
.map-container iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: none;
}

/* 12. Hotels List */
.hotel-card {
  background-color: none;
  border: 1px solid var(--color-blue);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hotel-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.hotel-img {
  width: 120px;
  height: 120px;
  background-size: cover;
  background-position: center;
}

.btn-detalles {
  border: 1px solid var(--color-blue) !important;
  color: var(--color-blue) !important;
  background-color: transparent;
  border-radius: 50px !important;
  padding: 0.375rem 1rem !important;
  font-weight: 600 !important;
  transition: all 0.3s ease !important;
}

.btn-detalles:hover {
  background-color: var(--color-blue) !important;
  color: var(--color-cream) !important;
  text-decoration: none;
}

/* 13. Forms & Radios */
form.mx-auto {
  width: 100% !important;
  padding: 0 1rem;
  margin: 2rem auto !important;
}
form.mx-auto input {
  width: 100%;
}
form.mx-auto button {
  width: 60%;
}
.radio-group {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 1rem;
}
.radio-group .form-check {
    margin: 0;
}
.radio-group .form-check-input {
  width: 1.25rem;
  height: 1.25rem;
  margin-right: 0.5rem;
  flex-shrink: 0;
}
.radio-group .form-check-label {
  margin-bottom: 0;
  line-height: 1.25rem;
}

/* 14. Form Labels */
.form-label {
  display: block;
  font-weight: 700;
  margin-bottom: 0.5rem;
  font-size: 1.125rem;
  text-align: justify !important;
}

/* 15. Responsive Adjustments */
@media (max-width: 576px) {
  .navbar .btn-gold {
    padding: 0.25rem 0.5rem;
    font-size: 1.2rem;
  }
  .dropdown-menu {
    width: 100%;
    margin-top: 0.5rem;
  }
}
@media (max-width: 768px) {
  h1 {
    font-size: clamp(3rem, 5vw, 6rem) !important;
  }
  .texto-casamos h2 {
    font-size: clamp(2rem, 4vw, 3rem) !important;
  }
  body {
    font-size: 0.9rem;
    background-attachment: scroll;
  }
  .mb-3 {
    margin-bottom: 1rem !important;
  }
  .py-3 {
    padding: 1rem 0 !important;
  }
  .logos-timeline-imagen {
    max-width: none !important;
  }
}

/* 16. Gifts screen */
.texto-regalo {
    max-width: 800px;       /* ancho máximo */
    margin: 0 auto;         /* centrado horizontal */
    padding: 0 2rem;        /* márgenes internos laterales */
    text-align: justify;    /* texto justificado */
    white-space: pre-line;  /* respeta saltos de línea */
}

/* 17. FOOTER STICKY */
.footer-sticky {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #D4C9BED0;
    font-family: 'Marck Script', cursive;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 -1px 5px rgba(0,0,0,0.05);
    z-index: 1030;
}

.footer-nav {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.footer-item {
    text-align: center;
    color: var(--color-blue);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1rem;
    border-radius: 50%;
    padding: 0.5rem;
}

.footer-item i {
    display: block;
    font-size: 1.5rem;
    transition: transform 0.2s ease;
}

.footer-item:hover {
    font-weight: bold;
    color: var(--color-blue);
    transform: scale(1.3);
}

/* 18. Corazón*/
.logo-center {
    display: flex;
    justify-content: center;
    margin: 1.5rem 0; /* equivalente a my-6 */
}

.logo-svg {
    width: 3rem;  /* tamaño pequeño */
    height: 3rem;
}