/* Fuente personalizada */
body {
    font-family: 'Inter', sans-serif;
    background-color: #2a2a2a;
}

/* Estilos para la sección de inicio */
.hero-section {
    background-image: url('../Imagenes/Portada-web.jpg');
    background-size: cover;
    background-position: center center; 
}

/* Capa de superposición */
.overlay {
    background: linear-gradient(to right, rgba(42, 42, 42, 0.95) 30%, rgba(42, 42, 42, 0.1) 100%);
}

/* Color de acento para los enlaces */
.text-accent {
    color: #F7EAE8;
}
.hover\:text-accent-hover:hover {
    color: #E6C7C7;
}

/* --- ANIMACIONES --- */
@keyframes fade-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes slide-up { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.animate-fade-in { animation: fade-in 1.2s ease-out forwards; }
.animate-slide-up { animation: slide-up 1s ease-out 0.5s forwards; opacity: 0; }
.animate-nav > a { opacity: 0; animation: fade-in 0.8s ease-out forwards; }
.animate-nav > a:nth-child(1) { animation-delay: 0.8s; }
.animate-nav > a:nth-child(2) { animation-delay: 1s; }
.animate-nav > a:nth-child(3) { animation-delay: 1.2s; }

/* --- Estilos para la animación de escritura --- */
.typing-cursor::after {
    content: '|';
    animation: blink 1s step-end infinite;
    color: #E6C7C7;
    font-weight: 300;
}
@keyframes blink { from, to { color: transparent; } 50% { color: #E6C7C7; } }

/* --- NUEVOS ESTILOS PARA EL MENÚ MÓVIL (PANTALLA COMPLETA) --- */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%; /* Ocupa toda la pantalla */
    height: 100%;
    background-color: #FFFBF9; /* Fondo femenino blanco cálido */
    z-index: 100;
    
    /* Control de visibilidad con opacidad */
    opacity: 0;
    pointer-events: none; /* No se puede hacer clic cuando está oculto */
    transition: opacity 0.3s ease-in-out;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.mobile-menu.open {
    opacity: 1;
    pointer-events: auto; /* Se puede hacer clic cuando está visible */
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2.5rem;
    color: #4A4A4A;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.mobile-nav a {
    font-size: 1.5rem;
    color: #4A4A4A;
    text-decoration: none;
    font-weight: 500;
    /* Animación para que los enlaces aparezcan suavemente */
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease-out, transform 0.3s ease-out;
}

/* Cuando el menú se abre, los enlaces aparecen en cascada */
.mobile-menu.open .mobile-nav a {
    opacity: 1;
    transform: translateY(0);
}
.mobile-menu.open .mobile-nav a:nth-child(1) { transition-delay: 0.2s; }
.mobile-menu.open .mobile-nav a:nth-child(2) { transition-delay: 0.3s; }
.mobile-menu.open .mobile-nav a:nth-child(3) { transition-delay: 0.4s; }


.mobile-nav a.contact-btn-mobile {
    background-color: #D9AAB7;
    color: white;
    padding: 10px 30px;
    border-radius: 9999px;
    margin-top: 1rem;
}
