/* Estilos generales */
body {
    font-family: 'Inria Serif', serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-color: #fff;
}

h1, h2, h3, h4, p {
    margin: 0;
    padding: 0;
}

img {
    max-width: 100%;
    height: auto;
}

/* Franja superior */
.franja {
    height: 5px;
    background-color: #333;
}
.container{

    max-width: 1200px; /* Limita el ancho máximo del container */
    margin-left: auto; /* Centra el contenedor horizontalmente */
    margin-right: auto; /* Centra el contenedor horizontalmente */
    padding: 0 15px; /* Añade espacio en los laterales sin afectar el ancho */
    box-sizing: border-box; /* Incluye padding en el ancho total */
}
/* Parallax */
#parallax-container {
    position: relative;
    /*margin-top: 10%;*/
    overflow: hidden;
    height: 600px;
}

#parallax-container img {
    position: absolute;
    width: 100%;
    height: auto;
    object-fit: cover;
}
#titulo {
    font-family: 'Italianno', cursive;
    font-size: 4rem;
    color: #fff;
    position: absolute;
    bottom: 10%;
    width: 100%;
    text-align: center;
}

/* carousel styles */
.carousel {
    --carousel-height: 400px;
    --carousel-width: 1000px;
    --carousel-item-height: 150px;
    --carousel-item-width: 150px;
  
    width: 100%;
  }
  
  .carousel-container {
    align-items: center;
    display: flex;
    min-height: var(--carousel-height);
    margin: 0 auto;
    max-width: var(--carousel-width);
    position: relative;
  }
  
  .carousel-item {
    height: var(--carousel-item-height);
    opacity: 0;
    position: absolute;
    transform: translateX(-50%);
    transition: all 0.3s ease-in-out;
    width: var(--carousel-item-width);
    z-index: 0;
  }
  
  .carousel-item-1 {
    left: 15%;
    opacity: 0.4;
  }
  
  .carousel-item-2,
  .carousel-item-4 {
    height: calc(var(--carousel-item-height) * 1.5);
    opacity: 1;
    width: calc(var(--carousel-item-width) * 1.5);
    z-index: 1;
  }
  
  .carousel-item-2 {
    left: 30%;
  }
  
  .carousel-item-3 {
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.6), 0 0 60px rgba(255, 255, 255, 0.45), 0 0 110px rgba(255, 255, 255, 0.25), 0 0 100px rgba(255, 255, 255, 0.1);
    height: calc(var(--carousel-item-height) * 2);
    opacity: 1;
    left: 50%;
    width: calc(var(--carousel-item-width) * 2);
    z-index: 2;
  }
  
  .carousel-item-4 {
    left: 70%;
  }
  
  .carousel-item-5 {
    left: 85%;
    opacity: 0.4;
  }
  
  .carousel-controls {
    display: flex;
    justify-content: center;
    margin: 30px 0;
  }
  
  /* carousel button styles */
  .carousel-control {  
    background-color: transparent;
    border: 2px solid;
    border-radius: 4px;
    color: #aaa;
    cursor: pointer;
    height: 22px;
    margin: 0 20px;
    position: relative;
    transform: scale(1.5);
    transition: transform 0.5s ease-out;
    width: 22px;
  }
  
  .carousel-control:hover {
    transform: scale(1.3);
  }
  
  /* previous button */
  .carousel-control-previous::after,
  .carousel-control-previous::before {
    box-sizing: border-box; 
    content: '';
    display: block;
    height: 8px;
    position: absolute;
    top: 5px
  }
  .carousel-control-previous::before {
    background: currentColor;
    border-radius: 2px;
    right: 11px;
    width: 2px;
  }
  .carousel-control-previous::after {
    border-bottom: 4px solid transparent;
    border-right: 5px solid;
    border-top: 4px solid transparent;
    right: 5px;
    width: 0;
  }
  
  /* next button */
  .carousel-control-next::after,
  .carousel-control-next::before {
    box-sizing: border-box;
    content: "";
    display: block;
    height: 8px;
    position: absolute;
    top: 5px
  }
  .carousel-control-next::before {
    background: currentColor;
    border-radius: 2px;
    left: 11px;
    width: 2px;
  }
  .carousel-control-next::after {
    border-bottom: 4px solid transparent;
    border-left: 5px solid;
    border-top: 4px solid transparent;
    left: 5px;
    width: 0;
  }
  
  /* play button */
  .carousel-control-play::before {
    border-bottom: 5px solid transparent;
    border-left: 6px solid;
    border-top: 5px solid transparent;
    box-sizing: border-box;
    content: "";
    display: block;
    height: 10px;
    position: absolute;
    left: 7px;
    top: 4px;
    width: 0;
  }
  
  /* pause button */
  .carousel-control-play.playing::before {
    border-bottom: 0;
    border-left: 2px solid;
    border-right: 2px solid;
    border-top: 0;
    box-sizing: border-box;
    content: "";
    display: block;
    height: 6px;
    position: absolute;
    left: 6px;
    top: 6px; 
    width: 6px;
  }
  
  /* add button */
  .carousel-control-add::after,
  .carousel-control-add::before {
    background: currentColor;
    border-radius: 5px;
    box-sizing: border-box;
    content: "";
    display: block;
    height: 2px;
    position: absolute;
    left: 4px;
    top: 8px;
    width: 10px;
  }
  .carousel-control-add::after {
    height: 10px;
    left: 8px;
    top: 4px;
    width: 2px;
  }

/* Historia */
#historia {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 20px;
    background-color: #fff;
}

.historia-content {
    flex: 1;
    padding-right: 20px;
}

.historia-title {
    font-size: 2rem;
    margin-bottom: 10px;
    text-align: center;
}

.historia-separator {
    text-align: center;
    margin: 20px 0; 
}

.historia-separator img {
    max-width: 100%; 
    height: auto; 
}

.historia-text {
    line-height: 1.8;
    font-size: 1.1rem;
    text-align: justify;
}

.historia-image img {
    max-width: 100%;
}
#separadorhistoria{
    display: flex;             
    justify-content: center;   
    align-items: center;       
}
.historiaRJ{
    max-width: 100%;      
    height: 50%; 
}

/* Recepción */
.detalles{
    max-width: 100%;
    align-items: center;
    
}
#separadorfloral{
    text-align: center;
    padding: 30px;
    background-color: #fffdfd;
}
#recepcion .recuadro {
    text-align: center;
    padding: 30px;
    background-color: #fff;
}

.recuadro img {
    max-width: 200px;
}

.recuadro h1, .recuadro h2 {
    font-family: 'Italiana', serif;
    margin-bottom: 20px;
}

.buttons a {
    display: inline-block;
    background-color: #1e3821;
    color: #fff;
    padding: 10px 20px;
    margin: 10px;
    text-decoration: none;
}

/* Menú */
#menu {
    text-align: center;
    padding: 40px 20px;
    background-color: #fff;
}

.separator img {
    max-width: 100px;
    margin: 10px auto;
}

.text-container {
    max-width: 600px;
    margin: 0 auto;
}

.text-section h3 {
    font-weight: bold;
    margin-top: 20px;
}

/* Vestimenta */
#vestimenta {
    text-align: center;
    padding: 30px;
    background-color: #fff;
}

.image-container {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.image-item img {
    max-width: 150px;
}

.image-item p {
    font-family: 'Italiana', serif;
    margin-top: 10px;
}

/* Regalo */
#regalo {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 40px;
    background-color: #f5f5f5;
}

.text-content {
    flex: 1;
    max-width: 600px;
}

.main-text {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.subtitle {
    font-size: 1.5rem;
    color: #333;
}

.image-content img {
    max-width: 100px;
}

/* Asistencia */
#asistencia {
    text-align: center;
    padding: 50px;
    background-color: #fff;
}

#asistencia .btn {
    display: inline-block;
    background-color: #1e3821;
    color: #fff;
    border-radius: 10px;
    padding: 10px 20px;
    text-decoration: none;
}

/* Botón flotante */
#scrollToTopBtn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: none;
    background-color: #333;
    color: #fff;
    border: none;
    padding: 10px;
    cursor: pointer;
}

/* Footer */
footer {
    background-color: #1e3821;
    color: #fff;
    padding: 20px 0;
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.social-icons {
    margin-bottom: 20px;
}

.social-icons a {
    color: #fff;
    margin: 0 10px;
    font-size: 1.5rem;
}

.footer-bottom {
    font-size: 0.9rem;
}
@media screen and (min-width: 601px) {
.mensaje-reservacion {
    font-size: 2rem;                /* Tamaño de fuente grande */
    font-weight: bold;              /* Negrita para mayor énfasis */
    text-align: center;             /* Centrar el texto */
    margin: 40px 0;                /* Espacio arriba y abajo */
    color: #333;                    /* Color del texto */
    padding: 10px;                  /* Espacio interno */
    border: 1px solid #ccc;         /* Borde alrededor del mensaje */
    border-radius: 5px;             /* Bordes redondeados */
    background-color: #f9f9f9;      /* Color de fondo suave */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* Sombra sutil */
}
}
@media screen and (max-width: 600px) {
    .mensaje-reservacion {
        font-size: 1rem;                /* Tamaño de fuente grande */
        font-weight: bold;              /* Negrita para mayor énfasis */
        text-align: center;             /* Centrar el texto */
        margin: 20px 0;                /* Espacio arriba y abajo */
        color: #333;                    /* Color del texto */
        padding: 5px;                  /* Espacio interno */
        border: 1px solid #ccc;         /* Borde alrededor del mensaje */
        border-radius: 5px;             /* Bordes redondeados */
        background-color: #f9f9f9;      /* Color de fondo suave */
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* Sombra sutil */
    }
}
/* Media queries */
@media screen and (max-width: 768px) {
    #parallax-container {
        height: 20vh;
    }

    #titulo {
        font-size: 2.5rem;
    }

    #historia {
        flex-direction: column;
    }

    .historia-content {
        padding-right: 0;
    }

    #recepcion .recuadro {
        padding: 20px;
    }

    .image-container {
        flex-direction: column;
        gap: 10px;
    }

    #regalo {
        flex-direction: column;
        align-items: center;
    }
    
    .text-content, .image-content {
        max-width: 100%;
        text-align: center;
    }
}

@media screen and (max-width: 480px) {
    #titulo {
        font-size: 2rem;
    }

    .carousel-images img {
        width: 100%;
    }

    .historia-title {
        font-size: 1.5rem;
    }

    #recepcion .recuadro h1 {
        font-size: 1.5rem;
    }

    .text-section h3 {
        font-size: 1.2rem;
    }

    #asistencia .btn {
        padding: 8px 15px;
    }
    
    .social-icons a {
        font-size: 1.2rem;
    }
    
    .footer-bottom {
        font-size: 0.8rem;
    }
}
