/* Estilos específicos para la página de servicios */

/* Grid de profesionales */
.professionals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.professional-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 255, 255, 0.3);
    border-radius: 15px;
    padding: 25px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.professional-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 255, 255, 0.3);
    border-color: #00ffff;
}

.professional-image {
    text-align: center;
    margin-bottom: 20px;
}

.professional-image img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 3px solid #00ffff;
    object-fit: cover;
}

.professional-info h3 {
    color: #0f3460;
    font-size: 1.4em;
    margin-bottom: 5px;
    text-align: center;
}

.professional-title {
    color: #00ffff;
    font-weight: bold;
    text-align: center;
    margin-bottom: 15px;
    font-size: 1.1em;
}

.professional-description {
    color: #333;
    line-height: 1.6;
    margin-bottom: 15px;
    text-align: justify;
}

.professional-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.skill-tag {
    background: linear-gradient(45deg, #00ffff, #0f3460);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8em;
    font-weight: bold;
}

/* Grid de servicios */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 20px;
}

.service-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 255, 255, 0.3);
    border-radius: 15px;
    padding: 25px;
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 255, 0.1), transparent);
    transition: left 0.5s;
}

.service-card:hover::before {
    left: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 255, 255, 0.3);
    border-color: #00ffff;
}

.service-icon {
    font-size: 3em;
    margin-bottom: 15px;
    display: block;
}

.service-card h3 {
    color: #0f3460;
    font-size: 1.3em;
    margin-bottom: 15px;
}

.service-card p {
    color: #333;
    margin-bottom: 15px;
    line-height: 1.5;
}

.service-card ul {
    text-align: left;
    margin: 15px 0;
    padding-left: 20px;
}

.service-card li {
    color: #555;
    margin-bottom: 8px;
    position: relative;
}

.service-card li::before {
    content: '✓';
    color: #00ffff;
    font-weight: bold;
    position: absolute;
    left: -20px;
}

.service-price {
    font-size: 1.8em;
    font-weight: bold;
    color: #00ffff;
    margin: 20px 0;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
}

.service-btn {
    background: linear-gradient(45deg, #00ffff, #0f3460);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 25px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1em;
    width: 100%;
    margin-top: 10px;
}

.service-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0, 255, 255, 0.4);
}

/* Modal de compra */
.modal {
    display: none;
    position: fixed;
    z-index: 3000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.modal-content {
    background: rgba(15, 15, 35, 0.95);
    margin: 5% auto;
    padding: 30px;
    border: 2px solid #00ffff;
    border-radius: 15px;
    width: 90%;
    max-width: 600px;
    color: white;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 255, 255, 0.3);
}

.close {
    color: #00ffff;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    right: 20px;
    top: 15px;
}

.close:hover {
    color: #ffffff;
}

.modal-content h2 {
    color: #00ffff;
    text-align: center;
    margin-bottom: 25px;
    border-bottom: 2px solid #00ffff;
    padding-bottom: 10px;
}

.form-group {
    margin-bottom: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 15px;
}

.form-group label {
    display: block;
    color: #00ffff;
    margin-bottom: 8px;
    font-weight: bold;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 2px solid rgba(0, 255, 255, 0.3);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1em;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #00ffff;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
}

.form-group input[readonly] {
    background: rgba(0, 255, 255, 0.1);
    color: #00ffff;
}

.purchase-btn {
    background: linear-gradient(45deg, #00ffff, #0f3460);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 25px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.1em;
    width: 100%;
    margin-top: 20px;
}

.purchase-btn:hover {
    transform: scale(1.02);
    box-shadow: 0 5px 15px rgba(0, 255, 255, 0.4);
}

/* Enlace activo en el menú */
.menu-link.active {
    background: rgba(0, 255, 255, 0.3);
    border-color: #00ffff;
    color: #00ffff;
    transform: translateX(-5px);
}

/* Responsive */
@media (max-width: 768px) {
    .professionals-grid {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .modal-content {
        width: 95%;
        margin: 10% auto;
        padding: 20px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
}

/* Animaciones adicionales */
@keyframes serviceGlow {
    0%, 100% { box-shadow: 0 0 5px rgba(0, 255, 255, 0.3); }
    50% { box-shadow: 0 0 20px rgba(0, 255, 255, 0.6); }
}

.service-card:hover {
    animation: serviceGlow 2s infinite;
}
