/* === SERVICES SECTION MODULE STYLES === */
/* Debug: Services styles loaded */

.services {
    position: relative;
    min-height: 100vh;
    padding: 5rem 0;
    overflow: hidden;
}

/* === SERVICES BACKGROUND === */
.services-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.services-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 2s ease-in-out;
}

.services-slide.active {
    opacity: 1;
}

.services-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.9) 0%, rgba(26, 26, 26, 0.8) 100%);
    z-index: 2;
}

.services-container {
    position: relative;
    z-index: 3;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-title {
    font-size: 3rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 4rem;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    align-items: start;
}

/* === SERVICE CARDS === */
.service-card {
    background: var(--glass-effect);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(transparent, rgba(0, 212, 255, 0.1), transparent);
    animation: rotate 4s linear infinite;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover::before {
    opacity: 1;
}

.service-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 60px rgba(0, 212, 255, 0.2);
    border-color: var(--accent-cyan);
}

.service-card.highlighted {
    animation: highlightPulse 0.6s ease-in-out 3;
    border-color: var(--accent-gold) !important;
    box-shadow: 0 0 30px rgba(255, 193, 7, 0.5) !important;
}

@keyframes highlightPulse {
    0%, 100% { transform: translateY(-10px) scale(1.02); }
    50% { transform: translateY(-15px) scale(1.05); }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.service-icon {
    position: relative;
    z-index: 2;
    font-size: 3rem;
    color: var(--accent-cyan);
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    color: var(--accent-gold);
    transform: scale(1.1);
}

.service-title {
    position: relative;
    z-index: 2;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.service-description {
    position: relative;
    z-index: 2;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.service-buttons {
    position: relative;
    z-index: 2;
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-details,
.btn-whatsapp {
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.btn-details {
    background: var(--gradient-gold);
    color: var(--primary-dark);
}

.btn-details:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 193, 7, 0.4);
}

.btn-whatsapp {
    background: #25d366;
    color: white;
}

.btn-whatsapp:hover {
    background: #20b358;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
}

/* === RESPONSIVE SERVICES === */
@media (max-width: 1024px) {
    .services-container {
        padding: 0 1.5rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    
    .services-container {
        padding: 0 1rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .service-card {
        padding: 2rem 1.5rem;
    }
    
    .service-buttons {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .btn-details,
    .btn-whatsapp {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .service-card {
        padding: 1.5rem 1rem;
    }
    
    .service-icon {
        font-size: 2.5rem;
    }
    
    .service-title {
        font-size: 1.3rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
}