/* ========================================
  VARIABLES CSS Y CONFIGURACIÓN GLOBAL
  ======================================== */
:root {
  /* Variables de colores */
  --color-primary: #c60c30;
  --color-dark: #111;
  --color-light: #f9f9f9;
  --color-white: #fff;
  --color-black: #000;

  /* Variables de espaciado */
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2rem;
  --spacing-xxl: 4rem;

  /* Variables de transición */
  --transition-fast: 0.3s ease;
  --transition-medium: 0.5s ease;
  --transition-slow: 2s ease;

  /* Variables de bordes */
  --border-radius: 1rem;
  --border-radius-sm: 0.5rem;
  --border-radius-lg: 1.5rem;
  /* Variables de sombras */
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.15);
  /* Variables del footer */
  --input-nombre-width: 200px;
  --input-correo-width: 200px;
  --input-gap: 10px;
  --footer-column-gap: 30px;
  --footer-inner-padding: 15px;
}

/* ========================================
  RESET Y ESTILOS BASE
  ======================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
}

body {
  font-family: 'Lato', sans-serif;
  background: linear-gradient(to bottom right, var(--color-light), #e6e6e6);
  background-attachment: fixed;
  color: var(--color-dark);
  transition: background-color var(--transition-fast), color var(--transition-fast);
}

/* ========================================
  UTILIDADES TIPOGRÁFICAS
  ======================================== */
.lato-thin {
  font-weight: 100;
}
.lato-light {
  font-weight: 300;
}
.lato-regular {
  font-weight: 400;
}
.lato-bold {
  font-weight: 700;
}
.lato-black {
  font-weight: 900;
}
.lato-thin-italic {
  font-weight: 100;
  font-style: italic;
}
.lato-light-italic {
  font-weight: 300;
  font-style: italic;
}
.lato-regular-italic {
  font-weight: 400;
  font-style: italic;
}
.lato-bold-italic {
  font-weight: 700;
  font-style: italic;
}
.lato-black-italic {
  font-weight: 900;
  font-style: italic;
}

/* ========================================
  EFECTOS GLASS (REUTILIZABLE)
  ======================================== */
.glass-effect {
  background-color: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: var(--shadow-sm);
  border-radius: var(--border-radius);
  transition: all var(--transition-fast);
}

.glass-effect-dark {
  background-color: rgba(40, 40, 40, 0.4);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
}

/* ========================================
  HEADER Y NAVEGACIÓN
  ======================================== */
header.sticky-top {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
}

main {
  margin-top: 100px;
}

.navbar {
  background-color: transparent !important;
  margin: 0.8rem 0.5rem 0;
  border-radius: var(--border-radius);
  min-height: 80px;
  padding: 0;
  position: relative;
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
}

.navbar::before {
  content: '';
  position: absolute;
  inset: 0;
  background-color: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-sm);
  border-radius: inherit;
  z-index: -1;
}

.navbar .container-fluid {
  min-height: 80px;
  padding-left: 320px;
  padding-right: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

/* Logo y texto aniversario */
.navbar-brand {
  position: absolute;
  top: 50%;
  left: 20px;
  transform: translateY(-50%);
  width: 270px;
  height: 80px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.navbar-brand img,
.navbar-logo {
  height: 80px;
  max-width: 200px;
  width: auto;
  object-fit: contain;
  filter: none;
  transition: filter var(--transition-medium), opacity 3s ease;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 1;
  z-index: 5;
}

#anniversary-text {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 80px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 2rem;
  color: var(--color-primary);
  background: transparent !important;
  opacity: 0;
  transition: opacity var(--transition-slow);
  user-select: none;
  letter-spacing: 2px;
  text-align: center;
  padding: 0 5px;
  z-index: 10;
}

#anniversary-text .big-text {
  font-size: 2.4rem;
  line-height: 1;
}

#anniversary-text .small-text {
  font-size: 1rem;
  line-height: 1;
  margin-top: 2px;
}

/* Links de navegación */
.navbar-nav .nav-link,
.btn-outline-success {
  background-color: rgba(255, 255, 255, 0.1) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--border-radius);
  margin: 0 var(--spacing-xs);
  padding: var(--spacing-sm) var(--spacing-md);
  color: var(--color-dark) !important;
  border: 1.5px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
  font-weight: 600;
  transition: all var(--transition-fast);
  cursor: pointer;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active,
.btn-outline-success:hover {
  background-color: rgba(255, 255, 255, 0.2) !important;
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.4);
}

/* Botón cambio de tema */
#toggle-theme-btn {
  font-size: 1.2rem;
  cursor: pointer;
  user-select: none;
  border-radius: 0.375rem;
  border: 1px solid #6c757d;
  background-color: transparent;
  color: #6c757d;
  transition: background-color var(--transition-fast), color var(--transition-fast);
  width: 1.5rem;
  height: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 !important;
  margin-left: var(--spacing-md);
}

#toggle-theme-btn:hover {
  background-color: rgba(108, 117, 125, 0.1);
}

#toggle-theme-btn .material-symbols-outlined {
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  margin: 0;
  padding: 0;
}

/* ========================================
  SECCIONES Y CONTENIDO
  ======================================== */
.glass-section {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: var(--border-radius-lg);
  margin: var(--spacing-xl) auto;
  padding: var(--spacing-xl);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-fast);
  max-width: 90%;
}

.glass-card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: var(--spacing-md);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.glass-card:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-md);
}

/* Agenda */
#agenda {
  position: relative;
  border-radius: var(--border-radius);
  padding: var(--spacing-xl) 2.5rem;
  max-width: 900px;
  margin: var(--spacing-xl) auto;
  color: inherit;
  z-index: 0;
  overflow: hidden;
}

#agenda::before {
  content: '';
  position: absolute;
  inset: 0;
  background-color: rgba(255, 255, 255, 0);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0);
  border-radius: inherit;
  z-index: -1;
  transition: background-color var(--transition-fast), box-shadow var(--transition-fast);
}

#agenda .card {
  border-radius: var(--border-radius);
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

#agenda .card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

/* ========================================
  GALERÍA
  ======================================== */
#galeria-fotos {
  padding: var(--spacing-xxl) var(--spacing-md);
}

.galeria-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.galeria-hover-container {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.galeria-hover-container img {
  display: block;
  width: 100%;
  height: auto;
  transition: filter var(--transition-fast);
}

/* Aumentar un 30% la primera imagen de la galería */
.galeria-hover-container:first-child img {
  width: 130%;
  height: auto;
  display: block;
  margin: 0 auto;
  transition: transform var(--transition-fast), width var(--transition-fast);
}


.galeria-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(0, 0, 0, 0.4);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.galeria-title {
  color: var(--color-white);
  text-align: center;
  font-size: 1.5rem;
  font-weight: bold;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity var(--transition-fast), transform var(--transition-fast);
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

.galeria-hover-container:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-md);
}

.galeria-hover-container:hover .galeria-overlay {
  opacity: 1;
}

.galeria-hover-container:hover img {
  filter: blur(5px);
}

.galeria-hover-container:hover .galeria-title {
  opacity: 1;
  transform: translateY(0);
}


/* ========================================
FOOTER
  ======================================== */
footer {
  background-color: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 -4px 30px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  margin: 0 var(--spacing-sm) 0.8rem;
  border-radius: var(--border-radius);
  text-align: center;
  padding: var(--spacing-md) 0;
  position: relative;
  z-index: 1;
}

.footer-dark {
  background-color: #0000000c;
  color: #1a1a1a;
  padding: 40px 20px 20px;
  font-family: Arial, sans-serif;
  font-size: 14px;
  transition: background-color var(--transition-fast), color var(--transition-fast);
}

.footer-dark,
.footer-dark *,
.footer-dark a {
  color: #000000 !important;
}

.footer-dark .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--footer-column-gap);
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 30px;
}

/* Nuevas reglas para las columnas del footer */
.footer-dark .footer-column {
  flex: 1;
  padding: 0 var(--footer-inner-padding);
  box-sizing: border-box;
  min-width: 250px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.footer-dark .footer-logo {
  width: 100%;
  max-width: 180px;
  height: auto;
  margin-bottom: 10px;
}

.footer-dark h4 {
  font-size: 1.2em;
  margin-bottom: 15px;
}

/* Enlaces section */
.footer-dark .links-subcolumns {
  display: flex;
  gap: 180px;
  justify-content: center;
  width: 100%;
}

.footer-dark .links-subcolumns ul {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
}

.footer-dark .links-subcolumns ul li {
  margin-bottom: 8px;
}

.footer-dark .links-subcolumns ul li a {
  text-decoration: none;
  font-size: 14px;
  transition: color var(--transition-fast);
}

.footer-dark .links-subcolumns ul li a:hover {
  color: #a0a0a0;
  text-decoration: underline;
}

/* Iconos de Redes Sociales */
.footer-social {
  display: flex;
  gap: var(--spacing-md);
  margin-top: var(--spacing-md);
  justify-content: center;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  background-color: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.4);
  transition: transform var(--transition-fast), background-color var(--transition-fast);
  text-decoration: none;
}

.footer-social a img {
  width: 22px;
  height: 22px;
  filter: none;
  transition: transform var(--transition-fast);
}

.footer-social a:hover {
  background-color: rgba(255, 255, 255, 0.5);
  transform: scale(1.1);
}

.footer-social a:hover img {
  transform: scale(1.05);
}

/* Contact Icons */
.footer-dark .column-contact .footer-social {
  margin-top: 0;
}

.footer-bottom {
  text-align: center;
  margin-top: 30px;
  color: #888;
  border-top: 1px solid #333;
  padding-top: 15px;
  font-size: 0.9rem;
  flex-wrap: wrap;
  gap: var(--spacing-md);
}

/* Estilos responsivos para pantallas pequeñas */
@media (max-width: 768px) {
  .footer-dark .container {
    flex-direction: column;
    align-items: center;
  }
}

/* ========================================
  MODO OSCURO
  ======================================== */
html.dark-mode body,
html.dark-mode {
  background: var(--color-black) !important;
  background-image: none !important;
  color: #f0f0f0;
}

/* Navbar modo oscuro */
html.dark-mode .navbar::before {
  background-color: rgba(40, 40, 40, 0.4);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
}

html.dark-mode .navbar-nav .nav-link,
html.dark-mode .btn-outline-success {
  background-color: rgba(255, 255, 255, 0.05) !important;
  color: #eee !important;
  box-shadow: 0 4px 10px rgba(255, 255, 255, 0.05);
  border: 1.5px solid rgba(255, 255, 255, 0.15);
}

html.dark-mode .navbar-nav .nav-link:hover,
html.dark-mode .navbar-nav .nav-link.active,
html.dark-mode .btn-outline-success:hover {
  background-color: rgba(255, 255, 255, 0.15) !important;
  color: var(--color-white) !important;
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.2);
}

/* Logo modo oscuro */
html.dark-mode .navbar-brand img {
  filter: brightness(0) invert(1) saturate(0);
}

/* Texto aniversario modo oscuro */
html.dark-mode #anniversary-text,
html.dark-mode #anniversary-text div {
  color: var(--color-white) !important;
  background: transparent !important;
}

/* Secciones modo oscuro */
html.dark-mode .glass-section {
  background: rgba(18, 18, 18, 0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.6);
}

body.dark-mode #agenda::before {
  background-color: rgba(40, 40, 40, 0.4);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
}

/* Footer modo oscuro */
html.dark-mode footer {
  background-color: rgba(30, 30, 30, 0.75);
  border-color: rgba(60, 60, 60, 0.8);
  box-shadow: 0 -4px 30px rgba(0, 0, 0, 0.7);
}

html.dark-mode .footer-dark {
  background-color: #070707;
  color: #f0f0f0;
}

html.dark-mode .footer-dark,
html.dark-mode .footer-dark *,
html.dark-mode .footer-dark a {
  color: #f0f0f0 !important;
}

html.dark-mode .footer-social a {
  background-color: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

html.dark-mode .footer-social a:hover {
  background-color: rgba(0, 0, 0, 0.6);
}

html.dark-mode .footer-social img {
  filter: invert(100%) !important;
}

/* Galería modo oscuro */
html.dark-mode .galeria-hover-container {
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.05);
}

html.dark-mode .galeria-hover-container:hover {
  box-shadow: 0 8px 20px rgba(255, 255, 255, 0.1);
}

/* ========================================
  UTILIDADES
  ======================================== */
.highlight {
  background-color: yellow;
  font-weight: bold;
  padding: 0 2px;
  border-radius: 3px;
}

.bg-image {
  background-size: cover;
  background-position: center;
  border-radius: var(--border-radius);
  margin: var(--spacing-md);
  overflow: hidden;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background-color: rgba(255, 255, 255, 0.25);
  box-shadow: var(--shadow-md);
}

iframe[src*="spotify"] {
  z-index: 1;
  position: relative;
}

/* ========================================
  MEDIA QUERIES RESPONSIVAS
  ======================================== */

/* Tablets y pantallas medianas */
@media (max-width: 991.98px) {
  .navbar .container-fluid {
    padding-left: 200px;
    padding-right: 20px;
    min-height: 70px;
  }

  .navbar-brand {
    left: 10px;
    top: 55%;
  }

  .navbar-brand img {
    height: 60px;
    max-width: 150px;
  }

  .navbar::before {
    left: 0;
    right: 0;
    width: 100%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  }

  /* Footer responsive */
  .footer-dark .container {
    flex-wrap: wrap;
    gap: 20px;
  }

  .footer-dark .footer-column {
    flex: 1 1 calc(50% - 20px);
    margin-bottom: 20px;
    min-width: unset;
    text-align: center;
    padding: 0;
  }

  .footer-dark .footer-column h4 {
    text-align: center;
  }

  .footer-dark .links-subcolumns,
  .footer-dark .footer-whatsapp {
    justify-content: center;
    align-self: center;
  }

  .footer-dark .contact-form .form-row-inputs {
    flex-direction: column;
    flex-wrap: wrap;
    max-width: 100%;
    width: 100%;
    align-items: center;
  }

  .footer-dark .contact-form .input-nombre,
  .footer-dark .contact-form .input-correo {
    width: 90%;
    max-width: 300px;
  }

  .footer-dark .contact-form .form-row-message {
    max-width: 100%;
    width: 100%;
    align-items: center;
  }

  .footer-dark .contact-form textarea {
    width: 90%;
    max-width: 300px;
  }

  .footer-dark .contact-form button {
    width: 90%;
    max-width: 300px;
    align-self: center;
  }
}

/* Móviles y pantallas pequeñas */
/* ========================================
  NAVBAR EN MÓVILES
  ======================================== */
@media (max-width: 768px) {
  /* ========================================
    AJUSTES PARA LA BARRA DE NAVEGACIÓN
    ======================================== */
  .navbar-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: auto;
    height: auto;
    gap: 3px;
    padding: 0;
  }

  .navbar-brand img,
  .navbar-logo {
    height: 40px;
    max-width: 100px;
    position: static;
    transform: none;
    display: block;
  }

  #anniversary-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: auto;
    height: auto;
    line-height: 1.1;
    text-align: center;
    position: static;
    transform: none;
    opacity: 1;
    white-space: nowrap;
    padding: 0;
    margin: 0;
  }

  #anniversary-text .big-text {
    font-size: 0.8rem;
    font-weight: 700;
  }

  #anniversary-text .small-text {
    font-size: 0.6rem;
    font-weight: 400;
  }

  /* Posiciona correctamente el botón de hamburguesa */
  .navbar-toggler {
    display: block;
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 20;
  }

  /* El menú desplegable */
  .navbar-collapse {
    background-color: rgba(255, 255, 255, 0.25) !important;
    padding: 1rem;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
  }

  /* Ajustes del contenedor y la barra de navegación */
  .navbar {
    margin: 0.8rem auto 0;
    width: 100%;
    justify-content: space-between;
    position: relative;
    padding: 0 15px;
    min-height: 80px;
    display: flex;
    align-items: center;
  }

  .navbar .container-fluid {
    padding: 0;
    justify-content: space-between;
    min-height: 80px;
    position: relative;
  }

  /* Menú de navegación */
  .navbar-nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  /* Ajustes específicos para móviles pequeños dentro de 768px */
  main {
    margin-top: 80px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .glass-section {
    padding: var(--spacing-md);
    margin: var(--spacing-md) var(--spacing-sm);
  }
}

/* Resto del código... */

html.dark-mode #toggle-theme-btn {
  background-color: transparent !important;
  border-color: rgba(255, 255, 255, 0.5) !important;
  color: #eee !important;
}

html.dark-mode #toggle-theme-btn:hover {
  background-color: rgba(255, 255, 255, 0.15) !important;
}

.navbar-nav .d-flex {
  justify-content: center;
  margin-top: 10px;
}

html.dark-mode .navbar-brand img {
  filter: brightness(0) invert(1) saturate(0);
}

html.dark-mode #anniversary-text,
html.dark-mode #anniversary-text div {
  color: var(--color-white) !important;
  background: transparent !important;
}

html.dark-mode .glass-section {
  background: rgba(18, 18, 18, 0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.6);
}

body.dark-mode #agenda::before {
  background-color: rgba(40, 40, 40, 0.4);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
}

html.dark-mode footer {
  background-color: rgba(30, 30, 30, 0.75);
  border-color: rgba(60, 60, 60, 0.8);
  box-shadow: 0 -4px 30px rgba(0, 0, 0, 0.7);
}

html.dark-mode .footer-dark {
  background-color: #070707;
  color: #f0f0f0;
}

html.dark-mode .footer-dark,
html.dark-mode .footer-dark *,
html.dark-mode .footer-dark a {
  color: #f0f0f0 !important;
}

html.dark-mode .footer-social a {
  background-color: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

html.dark-mode .footer-social a:hover {
  background-color: rgba(0, 0, 0, 0.6);
}

html.dark-mode .footer-social img {
  filter: invert(100%) !important;
}

html.dark-mode .galeria-hover-container {
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.05);
}

html.dark-mode .galeria-hover-container:hover {
  box-shadow: 0 8px 20px rgba(255, 255, 255, 0.1);
}

.highlight {
  background-color: yellow;
  font-weight: bold;
  padding: 0 2px;
  border-radius: 3px;
}

.bg-image {
  background-size: cover;
  background-position: center;
  border-radius: var(--border-radius);
  margin: var(--spacing-md);
  overflow: hidden;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background-color: rgba(255, 255, 255, 0.25);
  box-shadow: var(--shadow-md);
}

iframe[src*="spotify"] {
  z-index: 1;
  position: relative;
}

/* ========================================
  EFECTOS AGREGADOS POR EL USUARIO
  ======================================== */
/* Sombra para el texto de aniversario */
#anniversary-text {
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.4);
}

/* Ajuste de sombra para el modo oscuro */
html.dark-mode #anniversary-text {
  text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.5);
}


/* ========================================
  EFECTOS CARRUSEL
   ======================================== */

.carousel-wrapper {
  max-width: 800px;
  margin: 0 auto;
}

.carousel-inner img {
  max-height: 600px;
  object-fit: cover;
  width: 100%;
}

.carousel-indicators {
  bottom: 10px;
}

.hero-carousel-section {
  position: relative;
  padding: 0;
}

/* ➡️ CLASE REUTILIZABLE PARA EL EFECTO DE TEXTO DEL CARRUSEL */
.glass-effect-caption {
  position: absolute;
  bottom: 5%;
  left: 50%;
  transform: translate(-50%, 0);
  z-index: 10;
  text-align: center;
  padding: 15px 25px;
  color: #fff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);

  /* Efecto de vidrio (glassmorphism) */
  background-color: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  border-radius: 8px;
  max-width: 90%;
}

.glass-effect-caption h3 {
  font-size: 1.3rem;
  margin-bottom: 5px;
  color: #fff;
}

.glass-effect-caption h5 {
  font-size: 0.9rem;
  margin-bottom: 0;
  color: #fff;
}

/* Estilos para el texto superior, aplicando el mismo efecto */
.hero-overlay-content {
  position: absolute;
  top: 4.5%;
  left: 50%;
  transform: translate(-50%, 0);
  z-index: 10;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);

  text-align: center;
  padding: 15px 15px;
  background-color: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  border-radius: 8px;
  max-width: 90%;
}

.hero-overlay-content h2 {
  font-size: 2.5rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 10px;
  color: #fff;
}

.hero-overlay-content h5 {
  font-size: 1.2rem;
  margin-bottom: 20px;
  color: #fff;
}

/* Ajustes para pantallas medianas (tabletas) */
@media (max-width: 992px) {
  .hero-overlay-content h2 {
    font-size: 2rem;
  }
  .hero-overlay-content h5 {
    font-size: 1rem;
  }
}

/* Ajustes para pantallas pequeñas (móviles) */
@media (max-width: 768px) {
  .hero-overlay-content {
    top: 5%;
    padding: 10px 15px;
  }
  .hero-overlay-content h2 {
    font-size: 1.5rem;
    white-space: normal;
  }
  .hero-overlay-content h5 {
    font-size: 0.9rem;
  }
  .glass-effect-caption {
    bottom: 2%;
    padding: 10px 15px;
  }
  .glass-effect-caption h3 {
    font-size: 1.1rem;
  }
  .glass-effect-caption h5 {
    font-size: 0.8rem;
  }
}

/* Ajustes para pantallas muy pequeñas */
@media (max-width: 576px) {
  .hero-overlay-content h2 {
    font-size: 1.2rem;
  }
  .hero-overlay-content h5 {
    font-size: 0.8rem;
  }
}







/* ========================================
   CARRUSEL CON DIFUMINADO SUPERIOR E INFERIOR (EFECTO MÁS PEQUEÑO)
   ======================================== */

/* Contenedor del carrusel */
#carouselExampleDark {
  position: relative;
  overflow: hidden;
}

/* Carrusel - imágenes con difuminado superior e inferior */
#carouselExampleDark .carousel-item img {
  width: 100%;
  height: 80vh; /* Ajusta la altura total del carrusel */
  object-fit: cover;
  display: block;

  /* Difuminado superior e inferior más pequeño */
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 5%, rgba(0,0,0,1) 95%, rgba(0,0,0,0) 100%);
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 5%, rgba(0,0,0,1) 95%, rgba(0,0,0,0) 100%);
  mask-repeat: no-repeat;
  mask-size: 100% 100%;
}

/* Captions por encima del difuminado */
#carouselExampleDark .carousel-caption {
  position: relative;
  z-index: 10;
  text-align: center;
  color: #fff; /* Asegura contraste sobre la imagen */
  text-shadow: 0px 2px 6px rgba(0,0,0,0.6); /* Mejora legibilidad */
}

/* Opcional: efecto sutil al pasar el mouse */
#carouselExampleDark .carousel-item img:hover {
  transform: scale(1.02);
  transition: transform 0.5s ease;
}






/* ========================================
   ULTRA RESPONSIVE - MÓVILES TOTAL (FINAL MODIFICADO)
   ======================================== */

/* ===== Base general para móviles ===== */
@media (max-width: 1024px) {

  /* Menú desplegable */
  .navbar-collapse {
    display: none;
    flex-direction: column;
    gap: 0.75rem;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    max-height: 80vh;
    padding: 0.75rem 1rem;
    background-color: rgba(255, 255, 255, 0.25);
    border-radius: 0.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 100;
    overflow-y: auto;
  }

  .navbar-collapse.show {
    display: flex;
  }

  /* Botón hamburguesa */
  .navbar-toggler {
    display: block;
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 200;
    font-size: 1.6rem;
  }

  /* Logo proporcional dinámico */
  .navbar-brand img {
    max-width: 20vw;
    min-width: 90px;
    height: auto;
    object-fit: contain;
    transition: max-width 0.3s ease;
    display: inline-block;
    vertical-align: middle;
  }

  /* Texto aniversario alineado con logo */
  #anniversary-text {
    display: inline-block !important;
    vertical-align: middle;
    margin: 0;
    font-size: calc(0.8rem + 1vw);
    line-height: 1.2;
    background: rgba(255, 255, 255, 0.25);
    padding: 0.2rem 0.5rem;
    border-radius: 0.3rem;
    backdrop-filter: blur(5px);
    text-align: center;
  }

  /* Carrusel completo y dinámico */
  #carouselExampleDark {
    height: auto;
    min-height: 45vh;
    overflow: hidden;
  }

  #carouselExampleDark .carousel-item {
    width: 100%;
    height: 100%;
  }

  #carouselExampleDark .carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  /* Textos hero escalables */
  .carousel-caption-top,
  .carousel-caption-bottom {
    max-width: 95%;
    word-break: break-word;
    padding: 0.5rem 1rem;
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 0.5rem;
    font-size: calc(0.8rem + 1vw);
    line-height: 1.2;
    transition: all 0.3s ease;
  }

  .carousel-caption-top {
    top: 10%;
  }

  .carousel-caption-bottom {
    bottom: 5%;
  }
}

/* ===== Ajustes horizontal / landscape ===== */
@media (max-width: 1024px) and (orientation: landscape),
       (max-width: 768px) and (orientation: landscape) {

  /* Aumento de la altura máxima para que se vean todos los elementos del menú */
  .navbar-collapse {
    max-height: 100vh;
    overflow-y: auto;
  }

  .navbar-brand img {
    max-width: 15vw;
    min-width: 70px;
  }

  #anniversary-text {
    font-size: calc(0.7rem + 0.7vw);
  }

  #carouselExampleDark .carousel-item {
    min-height: 35vh;
  }

  .carousel-caption-top,
  .carousel-caption-bottom {
    font-size: calc(0.7rem + 0.9vw);
  }
}

/* ===== Ajustes vertical / portrait ===== */
@media (max-width: 768px) and (orientation: portrait) {

  /* Navbar como flex para alinear logo y texto aniversario */
  .navbar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
  }

  /* Logo */
  .navbar-brand {
    margin: 0;
    flex-shrink: 0;
  }

  .navbar-brand img {
    max-width: 25vw;
    min-width: 90px;
    height: auto;
    object-fit: contain;
  }

  /* Texto aniversario alineado con logo */
  #anniversary-text {
    margin: 0 0 0 1rem;
    font-size: calc(0.85rem + 0.9vw);
    line-height: 1.2;
    text-align: left;
    background: rgba(255, 255, 255, 0.25);
    padding: 0.2rem 0.5rem;
    border-radius: 0.3rem;
    backdrop-filter: blur(5px);
  }

  /* Carrusel ocupa la altura correcta */
  #carouselExampleDark {
    height: 55vh;
    overflow: hidden;
  }

  #carouselExampleDark .carousel-item {
    width: 100%;
    height: 100%;
  }

  #carouselExampleDark .carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  /* Textos hero escalables */
  .carousel-caption-top,
  .carousel-caption-bottom {
    max-width: 95%;
    word-break: break-word;
    font-size: calc(0.85rem + 0.8vw);
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
  }
}

/* ===== Botones y spacing ultra-responsive (General para <= 768px) ===== */
@media (max-width: 768px) {
  .btn,
  .navbar-nav .nav-link {
    padding: calc(0.5rem + 0.2vw) calc(1rem + 0.5vw);
    font-size: calc(0.8rem + 0.5vw);
  }

  .navbar-nav {
    gap: calc(0.5rem + 0.5vw);
  }

  /* Ajuste para el botón hamburguesa en portrait */
  .navbar-toggler {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 200;
  }
}

/* ===== Ajuste texto vertical menú móvil centrado en navbar ===== */
@media (max-width: 768px) {

  .navbar-collapse.show {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: auto;
    max-height: 80vh;
  }

  .navbar-collapse.show .nav-link {
    text-align: left;
    padding: 0.5rem 1rem;
  }
}


/* =======================
   QUIÉNES SOMOS
   ======================= */
#quienes-somos {
  padding: 5rem 0;
  font-family: 'Roboto', sans-serif;
  color: var(--texto-principal);
}

#quienes-somos h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
  text-align: center;
}

#quienes-somos h3.agrupacion-titulo {
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-principal);
  text-align: center; /* centra el título */
  margin-bottom: 0.5rem;
}

#quienes-somos p.agrupacion-subtitulo {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--color-secundario);
  text-align: center; /* centra el subtítulo */
  margin-bottom: 2rem;
  font-style: italic;
}

#quienes-somos h4 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: var(--color-secundario);
}

#quienes-somos h5 {
  font-size: 1.25rem;
  font-weight: 500;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  color: var(--color-acento);
}

#quienes-somos p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

#quienes-somos ul {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

#quienes-somos ul li {
  margin-bottom: 0.5rem;
  position: relative;
  padding-left: 1.2rem;
}

#quienes-somos ul li::before {
  content: '•';
  color: var(--color-principal);
  position: absolute;
  left: 0;
  font-weight: bold;
}

#quienes-somos blockquote {
  font-style: italic;
  color: var(--color-secundario);
  border-left: 3px solid var(--color-principal);
  padding-left: 1rem;
  margin: 1rem 0 2rem 0;
}


/* =======================
  IMAGENES DE QUIÉNES SOMOS
   ======================= */
.card-img-top {
  width: 100%;
  height: 280px; /* puedes subir a 300px si quieres más protagonismo a las fotos */
  object-fit: cover;
  border-radius: 8px; /* opcional, queda elegante */
}

/* ========================================
   ESTILOS PARA LA SECCIÓN QUIÉNES SOMOS DE DOS COLUMNAS
   ======================================== */

.agrupacion-titulo {
  text-align: center;
  font-weight: bold;
  font-size: 1.5rem;
}

.agrupacion-subtitulo {
  text-align: center;
  font-style: italic;
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.card {
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border-radius: 0.5rem;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-2px);
}

.card-img-top {
  height: 200px;
  object-fit: cover;
}

.card-img-top.disco {
  height: auto;
  object-fit: contain;
  padding: 10px;
  background-color: #f8f9fa;
}

.card-body {
  padding: 1rem;
}

.card-text {
  font-size: 0.9rem;
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .card-img-top {
    height: 150px;
  }
  
  .agrupacion-titulo {
    font-size: 1.3rem;
  }
  
  .agrupacion-subtitulo {
    font-size: 1rem;
  }
  
  /* Responsividad para móviles - layout en una sola columna */
  #quienes-somos .row {
    margin-bottom: 2rem;
  }
  
  /* En móviles, todas las columnas ocupan el ancho completo */
  #quienes-somos .col-lg-4,
  #quienes-somos .col-lg-8 {
    width: 100%;
    max-width: 100%;
    flex: 0 0 100%;
  }
  
  /* Centrar las imágenes en móviles */
  #quienes-somos .col-lg-4 {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
    margin-bottom: 1rem;
  }
  
  /* Ajustar el tamaño de las cards en móviles */
  #quienes-somos .card {
    max-width: 300px;
    width: 100%;
  }
  
  /* Espaciado del texto en móviles */
  #quienes-somos .col-lg-8 {
    margin-bottom: 1rem;
  }
}



