/* Estilos generales */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background: linear-gradient(135deg, #ffc0d6, #a3cbf3,#fff6a3);
    background-repeat: no-repeat;
    background-size: cover;
}

header {
    /* background-color: #004080; */
    background: linear-gradient(135deg, #0029e2 0%, #2238fa 100%);
    padding: 5px 10px;
    color: white;
    position: relative;
    position: sticky;
top: 0;
right: 0;
z-index: 30;
}
.logo{float:left;
    width:40px;
    height:40px;
    border-radius: 10px;
    margin-top:10px;
    margin-left: -3px;
}

.a-logo{
padding: 0;}

header nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
    align-items: center;
    padding: 0;
}

header nav ul li {
    margin: 0px 15px;
    position: relative;
    
}
header nav ul .user-image{width: 30px; 
height: 30px; 
border-radius: 50px; 
cursor: pointer;
border: 0.5px black solid;
display: inline-flex;}

header nav ul li .user-image {width: 25.5px; 
    height: 26px; 
    position: absolute;
    bottom: 0;
    top: -3px;
    left: 45px;
    }

header nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 18px;
}
/* mini menu */
/* Estilo para la imagen */


.menu-perfil {
    position: fixed; /* Se mantiene en la pantalla */
    color: black;
    background: white;
    border: 1px solid #ddd;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    padding: 10px 15px;
    border-radius: 5px;
    opacity: 0; /* Ocultar sin quitar espacio */
    visibility: hidden; /* Lo hace invisible */
    display:none;/* esto lo agrege yo*/
    transition: opacity 0.2s ease-in-out, visibility 0.2s ease-in-out;
    z-index: 10000;
    pointer-events: none;
    
}


/* Cuando el menú está visible */
.menu-perfil.show {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}
.tuerca{font-size: 18px; position: absolute; top: 2px; left: 2px;
text-decoration: none;}


/* diaeño de enlaces */
.menu-perfil a:not(.vista-previa-link):not(.tuerca){
    text-decoration: none;
    color: black;
    display: block;
    background-color: #ffffff;
    padding: 5px 10px;
    border-radius: 10px;
    text-align: center;
    transition: 0.2s;
    
}

/* animacion de enlace */
.menu-perfil a:hover:not(.vista-previa-link):not(.tuerca){
    background: #5773c0;
    color: #ffffff;
    transition: 0.2s;
    box-shadow: 1px 2px 1px rgb(0, 0, 0); 
}

.menu-perfil a:is(.btn-login) {border: #333 2px solid;}
.menu-perfil a:is(.btn-login):hover{box-shadow: 0 0 0;
text-shadow:#333 3px 3px 2px;
letter-spacing: 0.7px;}

/* opciones del menu */
.opciones{display: flex;
    flex-direction: column;
    gap: 2px;}


/* imagen del mini menu */
.menu-perfil h2{text-align: center;
margin: 5px;}

.menu-perfil .image-config{width: 100%;/*180px*/
height: 100%; /*180px*/
outline: #333 solid 3px; 
border-radius: 50%;
object-fit:fill;
object-position: top;
}

/* perfil visual */
.img-container-perfil {position: relative;
background-color: red;
width: 180px;
height: 180px;
border-radius: 50%; /* Oculta cualquier contenido que salga de los bordes */
margin-bottom: 10px;
}


.image-config {
    width: 100%;
    height: 100%;
    border-radius: 10px;
    object-fit: cover;
    
    object-position: top;
    display: block;
  }
/* redondo de hover */
  .preview-overlay {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 180px;
    height: 180px;
    background-color: rgba(0, 0, 0, 0.6); /* Fondo semitransparente */
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    cursor: pointer;
  }

  .img-container-perfil:hover .preview-overlay {
    opacity: 1;
  }

  /* opcion para cambiar de perfil */
  /* .div-container {
    background-color: red;margin-left: 30px;
    display: none;
    position: fixed;
    top: 52%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: clamp(50%, 40vw, 94%);
 height: 88%; 
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    border-radius: 10px;
    overflow: hidden;
    z-index: 10000;
    background-color: #000000;
}
.div-container div {
    width: 100%;
    height: 100%;
    border: none;
}
.div-container .close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    color: red;
    background: #fff;
    border: none;
    padding: 5px 10px;
    cursor: pointer;
    font-size: 16px;
    border-radius: 5px;
} */




/* carrusel */
.carousel {
    position: relative;
    max-width: 700px;
    margin: 50px auto;
    overflow: hidden;
    border-radius: 30px;
}
 .carousel::before{content: "Invitaciones para tus momentos especiales";
z-index: 1;
position: absolute;
color: #fff2abf1;
background-color: #0000003f;
top: 0;
left: 0;
width: 100%;
height: 100%;
padding-top: 15px;
font-size: 30px;
text-align: center;
display: flex; 
justify-content: center; 
align-items: start; 
margin-block-end: 0.83em;}

.carousel::after{content: "Encuentra la invitación perfecta para cada evento memorable.";
    z-index: 1;
    position: absolute;
    color: #fff2abf1;
    top: -5px;
    left: 0;
    width: 100%;
    height: 100%;
    font-size: 20px;
text-align: center;
    display: flex;
    justify-content: center; 
    align-items: end; 
    margin-block-end: 0.83em;} 

.carousel-inner {
display: flex;
transition: transform 0.5s ease-in-out;
}

.carousel-item {
    min-width: 100%;
    transition: opacity 0s ease-in-out;
}

.carousel-item img {
    width: 100%;
    display: block;
    width: 100%; /* Se ajusta al ancho del carrusel */
    height: 400px; /* Fija la altura de las imágenes */
    object-fit: cover; /* Ajusta la imagen sin distorsión */
    }

.prev-btn, .next-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    z-index: 90;
}

.prev-btn {
    left: 10px;
    z-index: 2;
}

.next-btn {
    right: 10px;
    z-index: 2;
}

.prev-btn:hover, .next-btn:hover {
    background-color: rgba(0, 0, 0, 0.7);
}

.seccion-inicio {
    text-align: center;
    padding: 50px 20px;
    background-color: #f5f5f5;
}

.seccion-inicio h1 {
    font-size: 36px;
    color: #333;
}

.seccion-producto {
    padding: 50px 20px;
}

.galeria-productos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.producto {
    margin: 20px;
    text-align: center;
    
}

.producto img {
    /* width: 100%; */
    width: 300px;
    max-width: 250px;
    height: 350px;
    object-position: center top;
    object-fit: cover;
    border-radius: 10px;
}

.producto h3 {
    font-size: 20px;
    color: #333;
}

button {
    padding: 10px 20px;
    background-color: #004080;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    
}

button:hover {
    background-color: #006bb3;
}

/* Sección de contacto */
.seccion-contacto {
    background-color: #f5f5f5;
    padding: 20px 20px;
    text-align: center;
}
/* .seccion-contacto h2 {
    margin: 5px;
}

.seccion-contacto ul{list-style: none;
padding: 0;
display: flex;
flex-direction: column;
align-items: center;
list-style: none;
gap: 10px;}

.seccion-contacto ul li a{
    text-decoration: none;
    color: black;
    font-size: 14px;
    
} */

.seccion-contacto form {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.seccion-contacto label {
    margin-bottom: 10px;
}

.seccion-contacto input, .seccion-contacto textarea {
    padding: 10px;
    margin-bottom: 20px;
    width: 100%;
    max-width: 400px;
    resize: vertical;  /*Permitir solo redimensionar arriba/abajo */
    overflow-x: hidden; 
}

footer {
    text-align: center;
    padding: 10px;
    background-color: #004080;
    color: white;
}

/* Estilo para el ícono de menú */
.menu-icon {
    display: none;
    font-size: 30px;
    cursor: pointer;
    color: rgb(0, 0, 0);
    position: absolute;
    top: 0px;
    right: 10px;
}
#menu-icon-2{ left: 10px;
right: 0px;
width: 30px;}

  

/* Ajuste para el menú de navegación en pantallas pequeñas */
@media (max-width: 845px) /* 768px*/{
    header{
    height: 35px;
    padding: 10px;
background-color: #004080;
border-bottom: 3px rgb(0, 0, 0) solid;
position: sticky;
top: 0;
right: 0;
z-index: 30;}

.logo{
    margin-left: 44%;
    width: 50px;
    height: 35px;
    margin-top: 0;
    object-fit: cover;
    }

header .user-image:last-of-type{
    position:absolute;
    top: 15px;
    right: 15px;
    width: 45px;
    height: 45px;
 }

    header nav ul {
        display: flex;
        flex-direction: column;
        position: fixed;
        margin-top: 0;
        top: 0;
        right: -100%; /* Inicialmente fuera de la pantalla */
        width: 250px;
        height: 100%;
        background: linear-gradient(135deg, #0029e2 0%, #2238fa 100%);
        z-index: 1000;
        padding-top: 50px;
        transition: right 0.3s ease-in-out; /* Transición suave */
    }

    header nav ul li {
        margin: 10px 0;
        text-align: center;
    }
    header li:last-child{
        width: 60px;
        color: red;
        cursor: pointer;
    }

    /* Mostrar el ícono de menú en pantallas pequeñas */
    .menu-icon {
        display: block;
        padding: 5px;
    }

    /* Clase que hará que el menú sea visible */
    .menu-visible {
        right: 0;
        z-index: 10; /* El menú entra en pantalla */
    }
    .carousel::after{
        font-size: 13.5px;
    }
    .carousel::before{font-size: 20px;
    padding-top: 3px;}
    /* .div-container {
        width: 96%;
        height: 70%; 
        top: 43%;} */
     /* Enpantallas muy pequeñas, forzamos el 93% */
    
    

}
@media (max-width: 425px){
    .carousel {
        border-radius: 0px;
        margin: 0 auto;
    } 
    .carousel-container {
        box-shadow: none;}
    .seccion-inicio{
        padding: 20px 20px;
    }
    .seccion-inicio h1{
        margin-top: 0px;
        font-size: 26px;
    }
    
   

}

