/* ESTRUCTURA BÁSICA */
body {
    margin: 0;
    padding: 0;
    font-family: 'Monsieur La Doulaise', cursive;
    background-color: #0a0a0a;
    position: relative;
    scroll-behavior: smooth;
    /* overflow-x: hidden; */ /* opcional */
  }
  
  /* Fondo con las imágenes apiladas */
  .fondos-multiples {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    display: flex;
    flex-direction: column;
  }


  .portada {
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* antes estaba center */
    gap: 15px;
    margin-top: 60px;
    margin-bottom: 20px;
    text-align: left; /* para que el texto quede a la izquierda */
    padding-left: 20px; /* un poquito de espacio a la izquierda */
    z-index: 10;
  }
  
  .titulo {
    font-family: 'UnifrakturCook', cursive;
    font-size: 6.5rem;
    line-height: 1.1;
    color: #fff;
    text-shadow: 0 0 8px #a572f8;
    letter-spacing: 1px;
    margin: 0;
    text-align: left; /* para el título */
    max-width: 90vw;
  }
  
  .info {
    font-size: 0.9rem;
    color: #dddddd;
    font-family: "Cinzel Decorative", serif;
    opacity: 0.8;
    line-height: 1.4;
    text-align: left; /* para la info */
  max-width: 90vw;
  }
  

  
  .bg-foto {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    opacity: 0.35;
    filter: blur(2px);
  }
  
  /* CONTENIDO CENTRAL */
  .contenido {
    max-width: 100%; /* quitar restricción */
    padding: 30px 20px 80px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    position: relative;
    z-index: 10;
  }
  
  
  
  /* PNG DECORATIVOS FLOTANTES */
  .decor {
    position: absolute;
    width: 80px;
    opacity: 0.7;
    animation: flotar 4s ease-in-out infinite;
    pointer-events: none;
    z-index: 20;
  }
  
  .decor1 {
    top: 40px;
    left: 20px;
    animation-delay: 0s;
  }
  .decor2 {
    bottom: 100px;
    right: 10px;
    animation-delay: 2s;
  }
  
  /* ANIMACIÓN DE FLOTACIÓN */
  @keyframes flotar {
    0% {
      transform: translateY(0px) rotate(0deg);
    }
    50% {
      transform: translateY(-10px) rotate(2deg);
    }
    100% {
      transform: translateY(0px) rotate(0deg);
    }
  }
  
  /* GALERÍA DE FOTOS */
  .galeria-obra {
    display: flex;
    flex-direction: column;
    gap: 30px;
    width: 100%;
    margin-top: 10px;
  }
  
  
  
  .obra:hover {
    transform: scale(1.02);
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.25);
  }
  
  .carrousel-container {
    width: 100%;
    overflow-x: scroll;
    overflow-y: hidden;
    margin: 40px 0;
    padding-bottom: 10px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    z-index: 10;
  }
  
  .carrousel {
    display: flex;
    gap: 20px;
    padding: 10px 0;
    min-width: 100%;
  }
  
  .item-carrusel {
    flex: 0 0 auto;
    width: 340px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(255,255,255,0.1);
    scroll-snap-align: start;
    transition: transform 0.3s ease;
  }
  
  .item-carrusel:hover {
    transform: scale(1.03);
  }
  