/* ========================== PASTEL GALAXY PRINCESS ========================== */
*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html {
    scroll-behavior: smooth;
}

:root{
    --pink1:#FFD6F4;
    --pink2:#FFC3EA;
    --pink3:#FF9DDB;
    --pink4:#FF7FD0;
    --purple1:#E4D2FF;
    --purple2:#CDB4FF;
    --purple3:#B794FF;
    --blue1:#E0F4FF;
    --blue2:#CDEBFF;
    --blue3:#A8DBFF;
    --galaxy1:#080914;
    --galaxy2:#101434;
    --galaxy3:#1A1248;
    --white:#FFFFFF;
}

/* ========================== BODY ========================== */
body{
    font-family:'Poppins',sans-serif;
    color:white;
    overflow-x:hidden;
    background: radial-gradient(circle at top left, rgba(255,157,219,.20), transparent 30%), 
                radial-gradient(circle at top right, rgba(205,180,255,.20), transparent 30%), 
                radial-gradient(circle at bottom center, rgba(168,219,255,.20), transparent 35%), 
                linear-gradient(135deg, var(--galaxy1), var(--galaxy2), var(--galaxy3));
    min-height:100vh;
    padding-top: 90px;
}

/* ========================== STARS ========================== */
.stars{
    position:fixed;
    inset:0;
    background-image: radial-gradient(2px 2px at 10% 20%, white, transparent), 
                      radial-gradient(2px 2px at 30% 40%, white, transparent), 
                      radial-gradient(3px 3px at 50% 10%, #FFD6F4, transparent), 
                      radial-gradient(2px 2px at 70% 20%, white, transparent), 
                      radial-gradient(3px 3px at 90% 50%, #CDB4FF, transparent), 
                      radial-gradient(2px 2px at 15% 80%, white, transparent), 
                      radial-gradient(3px 3px at 40% 70%, #A8DBFF, transparent), 
                      radial-gradient(2px 2px at 80% 85%, white, transparent);
    animation:twinkle 6s infinite alternate;
    z-index:-5;
}

@keyframes twinkle{
    from{opacity:.5;}
    to{opacity:1;}
}

/* ========================== MOON ========================== */
.moon{
    position:fixed;
    right:80px;
    top:70px;
    width:170px;
    height:170px;
    border-radius:50%;
    background: radial-gradient(circle, white, #fef8ff, #eedcff);
    box-shadow: 0 0 30px white, 0 0 70px #FFD6F4, 0 0 140px #CDB4FF;
}

/* ========================== PLANETS ========================== */
.planet1{
    position:fixed;
    width:110px;
    height:110px;
    border-radius:50%;
    top:65%;
    left:5%;
    background:linear-gradient(45deg, #FFD6F4, #FF9DDB);
    box-shadow:0 0 50px #FF9DDB;
    z-index:-1;
}

.planet2{
    position:fixed;
    width:80px;
    height:80px;
    border-radius:50%;
    top:20%;
    left:20%;
    background:linear-gradient(45deg, #CDB4FF, #A8DBFF);
    box-shadow:0 0 40px #CDB4FF;
    z-index:-1;
}

/* ========================== SHOOTING STAR ========================== */
.shooting-star{
    position:fixed;
    top:120px;
    left:-250px;
    width:250px;
    height:3px;
    background: linear-gradient(90deg, transparent, white);
    animation:shoot 7s linear infinite;
}

@keyframes shoot{
    0%{
        transform:translate(0,0) rotate(25deg);
        opacity:0;
    }
    10%{
        opacity:1;
    }
    100%{
        transform:translate(1800px,500px) rotate(25deg);
        opacity:0;
    }
}

/* ========================== SPARKLES ========================== */
.sparkles{
    position:fixed;
    inset:0;
    pointer-events:none;
}

.sparkles::before{
    content:"✨ ✨ ✦ ✨ ⭐ ✨ 💖 ✨ ✦ ✨ ⭐ ✨";
    position:absolute;
    width:100%;
    font-size:26px;
    opacity:.5;
    animation:floatSparkles 20s linear infinite;
}

@keyframes floatSparkles{
    from{ transform:translateX(-100%); }
    to{ transform:translateX(100%); }
}

/* ========================== NAVIGATION ========================== */
nav{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:20px 8%;
    background:rgba(255,255,255,.08);
    backdrop-filter:blur(18px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(255,255,255,.08);
}

.logo {
  background: linear-gradient(90deg, #ffd6f4, #ffc3ea, #a8dbff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

nav ul{
    display:flex;
    gap:25px;
    list-style:none;
}

nav a{
    text-decoration:none;
    color:white;
    transition: color 0.3s ease;
}

nav a:hover{
    color:var(--pink2);
}

/* Elementos del Menú Responsive */
.menu-toggle {
    display: none;
}

.menu-icon {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.menu-icon span {
    width: 28px;
    height: 3px;
    background-color: white;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* ========================== HERO ========================== */
.hero{
    text-align:center;
    padding:120px 20px;
}

.hero h1{
    font-size:5rem;
    background: linear-gradient(90deg, #FFD6F4, #FF9DDB, #CDB4FF);
    -webkit-background-clip: text;
background-clip: text;
    -webkit-text-fill-color:transparent;
}

.hero h2{
    margin-top:10px;
    font-size:1.5rem;
    font-weight:400;
}

.hero p{
    max-width:700px;
    margin:20px auto;
    line-height:1.8;
}

.btn{
    display:inline-block;
    margin-top:25px;
    padding:15px 35px;
    border-radius:50px;
    text-decoration:none;
    color:#111;
    font-weight:700;
    background: linear-gradient(90deg, #FFD6F4, #FF9DDB, #CDEBFF);
    box-shadow: 0 0 20px #FF9DDB, 0 0 50px #CDB4FF;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px #FF9DDB, 0 0 60px #CDB4FF;
}

.contact-modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(8, 9, 20, 0.7);
    backdrop-filter: blur(8px);
    z-index: 200;
    padding: 20px;
}

.contact-modal.active {
    display: flex;
}

.contact-modal-content {
    position: relative;
    width: min(100%, 420px);
    background: linear-gradient(135deg, rgba(16, 20, 52, 0.97), rgba(26, 18, 72, 0.97));
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 24px;
    padding: 28px 24px 22px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
    text-align: center;
}

.contact-modal-content h3 {
    margin-bottom: 12px;
    font-size: 2rem;
    color: #FFD6F4;
}

.contact-modal-content p {
    margin-bottom: 22px;
    line-height: 1.6;
    color: rgba(255,255,255,0.8);
}

.close-modal {
    position: absolute;
    top: 14px;
    right: 16px;
    border: none;
    background: transparent;
    color: #FFD6F4;
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
}

.contact-actions {
    display: grid;
    gap: 14px;
}

.contact-option {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 18px;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 700;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-option:hover {
    transform: translateY(-2px);
}

.email-option {
    background: linear-gradient(135deg, rgba(255, 214, 244, 0.18), rgba(168, 219, 255, 0.18));
    border: 1px solid rgba(255,255,255,0.15);
    color: #fff;
}

.whatsapp-option {
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: #fff;
    box-shadow: 0 12px 24px rgba(37, 211, 102, 0.25);
}

.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 25px;
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    color: var(--white);
    background: linear-gradient(135deg, #25d366, #128c7e);
    box-shadow: 0 0 20px rgba(37, 211, 102, 0.45), 0 0 50px rgba(18, 140, 126, 0.35);
    transition: transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease;
}

.whatsapp-btn:hover,
.whatsapp-floating:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 0 28px rgba(37, 211, 102, 0.6), 0 0 60px rgba(18, 140, 126, 0.4);
    filter: brightness(1.05);
}

/* Novedad: Limpieza de Estilos en Línea de los Botones de Tarjetas */
.btn-card {
    padding: 10px 20px;
    font-size: 0.9rem;
    margin-top: 10px;
}

.whatsapp-floating {
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, #25d366, #128c7e);
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4), 0 0 20px rgba(18, 140, 126, 0.3);
    z-index: 1000;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-icon {
    width: 34px;
    height: 34px;
    display: block;
}

/* ========================== GLASSMORPHISM CARDS ========================== */
.features{
    display:grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap:30px;
    padding:50px 8%;
}

.card{
    background:rgba(255,255,255,.08);
    backdrop-filter:blur(25px);
    border:1px solid rgba(255,255,255,.15);
    border-radius:30px;
    padding:30px;
    text-align:left;
    box-shadow: 0 0 20px rgba(255,157,219,.15), 0 0 40px rgba(205,180,255,.15);
}

/* Clases añadidas para reemplazar los estilos en línea antiguos */
.card-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.card h3{
    color:#FFD6F4;
    margin-bottom:15px;
    text-align:center;
}

.perfume-list {
    margin:15px 0;
    padding-left:20px;
    line-height:1.6;
}

.perfume-list li {
    margin-bottom:8px;
}

/* ========================== FOOTER ========================== */
footer{
    text-align:center;
    padding:40px;
    margin-top:40px;
    background:rgba(255,255,255,.05);
}

.footer-contact {
    margin-top: 15px;
    font-size: 1.1rem;
    line-height: 1.8;
}

.footer-contact a {
    color: #FFC3EA;
    text-decoration: none;
    font-weight: bold;
}

/* ========================== RESPONSIVE MEDIA QUERIES ========================== */
@media (max-width: 768px) {
    /* Ajustes generales de elementos galácticos para pantallas pequeñas */
    .moon {
        right: 20px;
        top: 20px;
        width: 100px;
        height: 100px;
    }
    
    .hero h1 {
        font-size: 3rem;
    }

    /* Activación del menú de navegación móvil */
    .menu-icon {
        display: flex;
    }

    nav ul {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(16, 20, 52, 0.95);
        backdrop-filter: blur(25px);
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        gap: 20px;
        border-bottom: 1px solid rgba(255,255,255,.1);
        
        /* Oculto por defecto */
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transition: max-height 0.4s ease, opacity 0.3s ease;
    }

    /* Mostrar menú al hacer clic en el botón hamburguesa */
    .menu-toggle:checked ~ ul {
        max-height: 300px;
        opacity: 1;
    }

    /* Animación del icono hamburguesa al abrirse */
    .menu-toggle:checked ~ .menu-icon span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 5px);
    }
    .menu-toggle:checked ~ .menu-icon span:nth-child(2) {
        opacity: 0;
    }
    .menu-toggle:checked ~ .menu-icon span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .whatsapp-floating {
        width: 58px;
        height: 58px;
        right: 18px;
        bottom: 18px;
    }
}
 
/* Custom Email Button Styling */
.email-btn {
    display: inline-block;
    margin-top: 15px;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    color: #FFFFFF;
    font-weight: 700;
    font-size: 0.95rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(205, 180, 255, 0.4); /* Pastel purple border */
    box-shadow: 0 0 15px rgba(205, 180, 255, 0.1);
    transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.email-btn:hover {
    transform: scale(1.05);
    background: linear-gradient(90deg, rgba(255, 214, 244, 0.15), rgba(205, 180, 255, 0.15));
    box-shadow: 0 0 25px rgba(205, 180, 255, 0.4), 0 0 10px rgba(168, 219, 255, 0.2);
}
