/* Estilos para un look más moderno con la nueva paleta */
.glassmorphism-nav {
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.nav-link {
    position: relative;
    transition: color 0.3s ease;
}
.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #C2185B; /* Nuevo color de acento */
    transition: width 0.3s ease;
}
.nav-link:hover::after {
    width: 100%;
}

.hero-gradient-text {
    background: linear-gradient(45deg, #ffffff, #e0e0e0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.cta-button {
    background: linear-gradient(45deg, #C2185B, #AD1457); /* Gradiente con nuevo acento */
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(194, 24, 91, 0.4);
}
.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 7px 20px rgba(194, 24, 91, 0.5);
}

.card-modern {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e5e7eb;
    position: relative;
    overflow: hidden;
}
.card-modern:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

.card-modern .card-border-glow {
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    border-radius: 0.5rem; /* same as rounded-lg */
    border: 2px solid transparent;
    background: linear-gradient(to right, #C2185B, #0056b3) border-box; /* Gradiente con nuevos colores */
    -webkit-mask: 
        linear-gradient(#fff 0 0) padding-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: destination-out;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.card-modern:hover .card-border-glow {
    opacity: 1;
}

.form-input-modern {
    border: none;
    border-bottom: 2px solid #e5e7eb;
    background-color: transparent;
    transition: border-color 0.3s ease;
}
.form-input-modern:focus {
    outline: none;
    border-color: #C2185B; /* Nuevo color de acento */
    ring: 0; /* Remove default focus ring */
}

/* Animaciones al hacer scroll */
.fade-in-section {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.fade-in-section.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- ESTILOS PARA LAS TARJETAS DE CATEGORÍA (FILTROS) --- */
.category-card.active-filter {
    border-color: #C2185B;
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    transform: translateY(-4px);
}

/* --- NUEVOS ESTILOS PARA LA VENTANA MODAL --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    padding: 20px;
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: white;
    padding: 40px;
    border-radius: 12px;
    width: 100%;
    max-width: 1100px; /* Ancho máximo del modal */
    max-height: 90vh; /* Altura máxima */
    overflow-y: auto; /* Habilitar scroll si el contenido es muy largo */
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    animation: fadeIn 0.3s ease-out;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2.5rem;
    color: #999;
    background: none;
    border: none;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s ease;
}
.modal-close:hover {
    color: #333;
}

@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}
