﻿

.sobre-contenedor {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fffafc;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: all 1s ease-in-out;
}

.sobre-wrapper {
    perspective: 1000px;
    width: 90%;
    max-width: 450px;
}

.sobre-cuerpo {
    position: relative;
    width: 100%;
    height: 300px; /* Un poco más alto para los nuevos elementos */
    background-color: #ffffff;
    border: 1px solid #eee;
    border-radius: 0 0 15px 15px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
    cursor: pointer;
    overflow: hidden; /* Importante para la silueta */
}

/* La solapa triangular de arriba */
.solapa-superior {
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 0;
    border-left: 225px solid transparent;
    border-right: 225px solid transparent;
    border-top: 150px solid #fce4ec; /* Rosa muy claro */
    z-index: 2;
    transform-origin: top;
    transition: transform 0.6s ease;
}

/* Ajuste responsivo para la solapa */
@media (max-width: 500px) {
    .solapa-superior {
        border-left-width: 45vw;
        border-right-width: 45vw;
    }
}

/* Listón Horizontal */
.liston-horizontal {
    position: absolute;
    top: 135px; /* Justo debajo de la solapa */
    left: 0;
    width: 100%;
    height: 30px;
    background-color: #f3b6cf; /* Rosa medio */
    z-index: 1;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

/* Frente del sobre */
.sobre-frontal {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    padding-bottom: 30px;
    z-index: 3;
}

/* Silueta de la Quinceañera */
.silueta-contenedor {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.1; /* Sutil como marca de agua */
    z-index: 0; /* Detrás de todo */
}

.silueta-img {
    width: 250px;
    height: auto;
}

/* El Moño con CSS */
.mono-completo {
    position: absolute;
    top: -50px; /* Centrado sobre el listón */
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease;
}

.mono-ala {
    width: 50px;
    height: 40px;
    background-color: #d63384; /* Rosa fuerte */
    border-radius: 50%;
    position: relative;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

    .mono-ala.izq {
        transform: rotate(-15deg);
        margin-right: -10px;
    }

    .mono-ala.der {
        transform: rotate(15deg);
        margin-left: -10px;
    }

.mono-centro {
    width: 35px;
    height: 35px;
    background-color: white;
    border: 3px solid #d63384;
    border-radius: 50%;
    z-index: 6;
    display: flex;
    justify-content: center;
    align-items: center;
}

.sello-mini {
    width: 20px;
    opacity: 0.7;
}

/* Hover effect */
.sobre-cuerpo:hover .mono-completo {
    transform: translateX(-50%) scale(1.1);
}

.sobre-cuerpo:hover .solapa-superior {
    transform: rotateX(20deg); /* Se levanta un poco */
}

/* Nombre de Nidia */
.nombre-sobre {
    font-family: 'Great Vibes', cursive;
    color: #b03060;
    font-size: 3rem;
    margin: 0;
    text-shadow: 2px 2px 0px white, 0 0 10px rgba(214,51,132,0.1);
    z-index: 4;
}

/* Texto de "Toca para abrir" */
.click-texto {
    font-size: 0.8rem;
    color: #7a3b5e;
    margin-top: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
    animation: bounce 2s infinite;
    position: absolute;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
}

/* Animación al abrir */
.sobre-contenedor.abierto {
    opacity: 0;
    visibility: hidden;
    transform: scale(1.1) translateY(-20px);
}

