@import url('https://fonts.googleapis.com/css2?family=Montserrat&display=swap');

html {
    overflow-x: hidden;
  }

/* Ajuste tamaño base de fuente */
body {
  font-size: 1rem; /* un poco más pequeño */
  background-color: #2c1b18;
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-weight:thin;
  overflow-x: hidden !important;
}


.fuente-1{
  font-family: 'Montserrat', sans-serif;
}
.fuente-2{
  font-family: 'Playfair Display', serif;
}
/* Colores centrales */
.color-1 { color: #9e2a2b !important; }
.color-2 { color: #f4b942 !important; }
.color-3 { color: #3a506b !important;}

/* Titulares */
h1, h2, h3 {
  font-family: 'Playfair Display', serif;
  margin: 0;
}


h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
}
h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
}
h3 {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
}

#tituloPrincipal {
  font-size: clamp(1.5rem, 3vw + 1rem, 4rem);
  line-height: 1.2;
}

#subtituloPrincipal {
  font-size: clamp(1.2rem, 1.5vw + 1rem, 2.5rem);
  line-height: 1.3;
}

.nav-link{
  font-size:13px;
  padding: 1em !important;
}
/* Ocultar navbar-brand en desktop y en portada */
.navbar-brand { color: #f4b942;
margin-left: 1em;
text-transform: uppercase;
}
/* Solo mostrar en pantallas <992px (cuando aparece hamburguesa) */
@media (max-width: 991px) {
  .navbar-brand { display: block; }
}
.fade-in-on-scroll {
  opacity: 0;
  transition: opacity 0.6s ease;
}

.fade-in-on-scroll.visible {
  opacity: 1;
}


.navbar .nav-link {
  transition: color 0.2s ease;
}

.navbar .nav-link:hover {
  color: #f4b942 !important;
  
}

.navbar .nav-link.active {
  color: #f4b942 !important;
  position: relative;
}

.navbar .nav-link.active {
  color: #f4b942 !important;
  position: relative;
}

.navbar .nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 3px;
  background-color: #9e2a2b;
  border-radius: 2px; /* opcional para suavizar */
}

/* 📱 Responsive: a la izquierda en pantallas pequeñas */
@media (max-width: 767.98px) {
  .navbar .nav-link.active::after {
    left: 0;
    transform: none;
  }
}
/* Y si quieres además ocultarlo en la sección #cabecera_seccion, añade: */
#cabecera_seccion ~ * .navbar-brand { display: none; }
#cabecera_seccion{
  background-color:#111  ;
  width: 100%;
}

#cuerpo{
  max-width:1600px;
  padding: 0em 2em 0em 2em;
  width: 100%;
}

.fondo-blanco{
 background-color:#fdf6ec; 
}
.texto-gris{
  color:#333;
}
/* Resto de tus estilos… */

.foto-sobre-mesa {
  padding: 8px;
  background: white;
  border: 2px dashed #ddd;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.9);

  border-radius: 4px;
}

.foto-sobre-mesa:hover {
  transform: rotate(-2deg) scale(1.02); /* Efecto leve al pasar el mouse */
}
.foto-sobre-mesa-sin-borde {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Sombra muy suave */
  transform: rotate(-3deg);             /* Inclinación leve a la izquierda */
  display: inline-block;
  max-width: 100%;
  transition: transform 0.3s ease;
}

.foto-sobre-mesa-sin-borde:hover {
  transform: rotate(-2deg) scale(1.02); /* Efecto leve al pasar el mouse */
}


.nota-papel {
  background: url('https://tse1.mm.bing.net/th/id/OIP._gCZdpdpRrCLhqRqNSXKBwHaE7?pid=Api');
  background-color: #fcf8f2;
  padding: 2rem;
  border-radius: 0.3em;
  box-shadow:
    0 4px 6px rgba(0,0,0,0.1),
    inset 0 0 8px rgba(0,0,0,0.03);
}

/* PC (más de 1024px) — opcional si quieres ajustes específicos para pantallas grandes */


/* Tablet (por ejemplo, entre 768px y 1024px) */
@media (max-width: 1024px) and (min-width: 768px) {
  .nota-papel {
    padding: 1.5rem;

  }
}

/* Phone (menos de 768px) */
@media (max-width: 767px) {
  .nota-papel {
    padding: 1rem;
  }
}



.nota-aire {
  color: #eee;
  padding: 2em; /* PC por defecto */
}

/* Tablet (entre 768px y 1024px) */
@media (max-width: 1024px) and (min-width: 768px) {
  .nota-aire {
    padding: 1em;
  }
}

/* Móvil (menos de 768px) */
@media (max-width: 767px) {
  .nota-aire {
    padding: 0em;
  }
}


.entrada-por-izquierda {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.entrada-por-izquierda.show {
  opacity: 1;
  transform: translateX(0);
}

.entrada-por-derecha {
   /* Puedes ajustar a 5rem o más si quieres aún más espacio */
  
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.entrada-por-derecha.show {
  opacity: 1;
  transform: translateX(0);
}


.foto_inclinada_izquierda {
  transform: translateX(0) rotate(-8deg) scale(1.02);
  transition: transform 0.6s ease;
}

.foto_inclinada_izquierda.show {
  transform: translateX(0) rotate(-3deg) scale(1.02);
}

.foto_inclinada_izquierda.show:hover {
  transform: translateX(0) rotate(-5deg) scale(1.02);
}

.foto_inclinada_derecha {
  transform: translateX(0) rotate(8deg) scale(1.02);
  transition: transform 0.6s ease;
}

.foto_inclinada_derecha.show {
  transform: translateX(0) rotate(3deg) scale(1.02);
}

.foto_inclinada_derecha.show:hover {
  transform: translateX(0) rotate(5deg) scale(1.02);
}




main > section {
    margin-bottom: 1rem; /* 📱 Móvil por defecto */
  }

  @media (min-width: 768px) { /* 📲 Tablet */
    main > section {
      margin-bottom: 1.5rem;
    }
  }

  @media (min-width: 992px) { /* 💻 PC */
    main > section {
      margin-bottom: 15rem; /* Puedes ajustar aquí si quieres más o menos espacio */
    }
  }
#cuerpo > section {
  margin-bottom: 1rem; /* 📱 Móvil por defecto */
}

@media (min-width: 768px) { /* 📲 Tablet */
  #cuerpo > section {
    margin-bottom: 1.5rem;
  }
}

@media (min-width: 992px) { /* 💻 PC */
  #cuerpo > section {
    margin-bottom: 12rem;
  }
}


#cuerpo > section > div > img {
  margin-bottom: 1.5rem; /* 📱 Móvil por defecto */
  margin-top: 1.5rem;
}

@media (min-width: 768px) { /* 📲 Tablet */
#cuerpo > section > div > img {
    margin-bottom: 2rem;
    margin-top: 2rem;
  }
}

@media (min-width: 992px) { /* 💻 PC */
#cuerpo > section > div > img {
    margin-bottom: 0rem;
  }
}


/*
.cartel-declaracion {
  width: 100vw;
  color: #eee;
  font-size: 2rem;
  font-style: italic;
  background-color:#555;
}
*/
.cartel-declaracion {
  position: relative;
  width: 100vw;

  margin: 0;
  padding: 1rem;

  background-color: #f0c674;
  color: #111;
  font-size: clamp(1rem, 2.5vw + 0.5rem, 1.6rem); /* Responsive */
  font-weight: bold;
  border-left: 10px solid #9e2a2b;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
  font-style: italic;
  border-radius: 0;

  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}



.sombra-general {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.9);
}

.altura-igual {
  display: flex;
  align-items: center;
  height: 100%;
}




.album-img {
      border: 2px solid white;
      width: 100%;
      height: auto;
    }
    .album-info {
      text-align: center;
      margin-top: 10px;
    }
    
    
    #siteMain {
  transition: margin-top 0.3s ease;
}

#header {
  z-index: 9999;
}

#scrollTopBtn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
  background-color: #9e2a2b;
  color: white;
  border: none;
  border-radius: 33%;
  padding: 3px 15px;
  font-size: 30px;
  cursor: pointer;
  font-weight: bold;
  display: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

#scrollTopBtn:hover {
  background-color: #f4b942;
  color: black;
}

#mainNavbar {
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  /* cualquier otro estilo necesario para tu navbar */
}

.contenedor_centrar{
  display: flex;
  justify-content: center; /* centra los hijos en horizontal */
  gap: 1rem;  
}